Skip to content

Commit

Permalink
Corrected comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszslabon committed May 6, 2024
1 parent 48b1430 commit 506d878
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/tbtc/moving_funds.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ func (mfa *movingFundsAction) actionType() WalletActionType {

func isWalletPendingMovingFundsTarget(
walletPublicKeyHash [20]byte,

chain interface {
BlockCounter() (chain.BlockCounter, error)

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 506d878

Please sign in to comment.