We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54eda3a commit 06b030eCopy full SHA for 06b030e
packages/neuron-wallet/src/services/indexer/queue.ts
@@ -87,7 +87,7 @@ export default class IndexerQueue {
87
try {
88
this.inProcess = true
89
if (this.resetFlag) {
90
- await this.blockNumberService.updateCurrent(BigInt(0))
+ await this.blockNumberService.updateCurrent(BigInt(-1))
91
this.resetFlag = false
92
}
93
const { lockHashInfos } = this
packages/neuron-wallet/src/services/sync/block-listener.ts
@@ -50,7 +50,7 @@ export default class BlockListener {
50
// start listening
51
public start = async (restart: boolean = false) => {
52
if (restart) {
53
- await this.currentBlockNumber.updateCurrent(BigInt(0))
+ await this.currentBlockNumber.updateCurrent(BigInt(-1))
54
55
56
0 commit comments