From 506d878ef2841d95fad62a66c61334a98735f400 Mon Sep 17 00:00:00 2001 From: Tomasz Slabon Date: Mon, 6 May 2024 14:16:52 +0200 Subject: [PATCH] Corrected comment --- pkg/tbtc/moving_funds.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/tbtc/moving_funds.go b/pkg/tbtc/moving_funds.go index 67f5fe563c..1e9c01b0a3 100644 --- a/pkg/tbtc/moving_funds.go +++ b/pkg/tbtc/moving_funds.go @@ -471,7 +471,6 @@ func (mfa *movingFundsAction) actionType() WalletActionType { func isWalletPendingMovingFundsTarget( walletPublicKeyHash [20]byte, - chain interface { BlockCounter() (chain.BlockCounter, error) @@ -542,8 +541,9 @@ func isWalletPendingMovingFundsTarget( continue } - // Our wallet is on the list of target wallets. If the state is moving - // funds, there is probably moving funds to our wallet in the process. + // Our wallet is on the list of target wallets. If the state of the + // source wallet is still MovingFunds, the moving funds process + // targeting our wallet is likely in progress. walletChainData, err := chain.GetWallet(event.WalletPublicKeyHash) if err != nil { return false, fmt.Errorf(