From 01526c344a6d6ec73fd8d72d2937a5a55cc4057f Mon Sep 17 00:00:00 2001 From: Ivan Belyakov Date: Thu, 5 Oct 2023 16:11:58 +0200 Subject: [PATCH] fix(wallet): new blocks were not found --- .../wallet/transfer/commands_sequential.go | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/services/wallet/transfer/commands_sequential.go b/services/wallet/transfer/commands_sequential.go index 998606e59..7ccb2e1bb 100644 --- a/services/wallet/transfer/commands_sequential.go +++ b/services/wallet/transfer/commands_sequential.go @@ -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())