Skip to content

Commit

Permalink
fix(node): resync uses connect
Browse files Browse the repository at this point in the history
resync used start before, but that uses the syncing node designation. connect bypasses that
  • Loading branch information
micahriggan committed Feb 7, 2019
1 parent 3941813 commit 74df9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bitcore-node/test/verification/resync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 74df9b8

Please sign in to comment.