fix(wallet): new blocks were not found

This commit is contained in:
Ivan Belyakov 2023-10-05 16:11:58 +02:00 committed by IvanBelyakoff
parent 9b0d49c2f7
commit 01526c344a

View File

@ -646,16 +646,17 @@ func (c *loadBlocksAndTransfersCommand) startFetchingNewBlocks(group *async.Grou
newBlocksCmd := &findNewBlocksCommand{
findBlocksCommand: &findBlocksCommand{
account: address,
db: c.db,
blockRangeDAO: c.blockRangeDAO,
chainClient: c.chainClient,
balanceCacher: c.balanceCacher,
feed: c.feed,
noLimit: false,
transactionManager: c.transactionManager,
tokenManager: c.tokenManager,
blocksLoadedCh: blocksLoadedCh,
account: address,
db: c.db,
blockRangeDAO: c.blockRangeDAO,
chainClient: c.chainClient,
balanceCacher: c.balanceCacher,
feed: c.feed,
noLimit: false,
transactionManager: c.transactionManager,
tokenManager: c.tokenManager,
blocksLoadedCh: blocksLoadedCh,
defaultNodeBlockChunkSize: DefaultNodeBlockChunkSize,
},
}
group.Add(newBlocksCmd.Command())