diff --git a/packages/bitcore-node/test/verification/resync.ts b/packages/bitcore-node/test/verification/resync.ts index cd910617c7c..e831ed73a9c 100644 --- a/packages/bitcore-node/test/verification/resync.ts +++ b/packages/bitcore-node/test/verification/resync.ts @@ -11,7 +11,7 @@ import { Storage } from '../../src/services/storage'; await Storage.start(); const chainConfig = Config.chainConfig({ chain, network }); const worker = new P2pWorker({ chain, network, chainConfig }); - await worker.start(); + await worker.connect(); await worker.resync(Number(START), Number(END));