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{ newBlocksCmd := &findNewBlocksCommand{
findBlocksCommand: &findBlocksCommand{ findBlocksCommand: &findBlocksCommand{
account: address, account: address,
db: c.db, db: c.db,
blockRangeDAO: c.blockRangeDAO, blockRangeDAO: c.blockRangeDAO,
chainClient: c.chainClient, chainClient: c.chainClient,
balanceCacher: c.balanceCacher, balanceCacher: c.balanceCacher,
feed: c.feed, feed: c.feed,
noLimit: false, noLimit: false,
transactionManager: c.transactionManager, transactionManager: c.transactionManager,
tokenManager: c.tokenManager, tokenManager: c.tokenManager,
blocksLoadedCh: blocksLoadedCh, blocksLoadedCh: blocksLoadedCh,
defaultNodeBlockChunkSize: DefaultNodeBlockChunkSize,
}, },
} }
group.Add(newBlocksCmd.Command()) group.Add(newBlocksCmd.Command())