Skip to content

Commit 8f08910

Browse files
spkjpfaustbrian
authored andcommitted
fix(core-blockchain): chain replay stopped working after dependency update (#2629)
1 parent b49e4be commit 8f08910

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core-blockchain/src/replay/replay-blockchain.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export class ReplayBlockchain extends Blockchain {
3131
this.localDatabase.walletManager = this.walletManager;
3232

3333
this.queue.kill();
34-
this.queue.drain = undefined;
34+
// @ts-ignore
35+
this.queue.drain(() => undefined);
3536
}
3637

3738
public get p2p(): P2P.IPeerService {

0 commit comments

Comments
 (0)