Skip to content

Commit 74df9b8

Browse files
committed
fix(node): resync uses connect
resync used start before, but that uses the syncing node designation. connect bypasses that
1 parent 3941813 commit 74df9b8

File tree

1 file changed

+1
-1
lines changed
  • packages/bitcore-node/test/verification

1 file changed

+1
-1
lines changed

packages/bitcore-node/test/verification/resync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Storage } from '../../src/services/storage';
1111
await Storage.start();
1212
const chainConfig = Config.chainConfig({ chain, network });
1313
const worker = new P2pWorker({ chain, network, chainConfig });
14-
await worker.start();
14+
await worker.connect();
1515

1616
await worker.resync(Number(START), Number(END));
1717

0 commit comments

Comments
 (0)