There was an error while loading. Please reload this page.
1 parent 85cb6a4 commit abdc01fCopy full SHA for abdc01f
1 file changed
packages/neuron-wallet/src/services/sync/queue.ts
@@ -50,7 +50,7 @@ export default class Queue {
50
this.inProcess = true
51
const current: bigint = await this.currentBlockNumber.getCurrent()
52
const startNumber: bigint = current + BigInt(1)
53
- const endNumber: bigint = current + BigInt(this.fetchSize) - BigInt(1)
+ const endNumber: bigint = current + BigInt(this.fetchSize)
54
const realEndNumber: bigint = endNumber < this.endBlockNumber ? endNumber : this.endBlockNumber
55
56
if (realEndNumber >= startNumber) {
0 commit comments