From ed0d2464227f33eb97c6a3286174c6bed5aff80d Mon Sep 17 00:00:00 2001 From: Tomasz Slabon Date: Wed, 1 May 2024 19:54:16 +0200 Subject: [PATCH] Fixed error --- pkg/tbtc/moving_funds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tbtc/moving_funds.go b/pkg/tbtc/moving_funds.go index b1d4b61639..af844ec4a8 100644 --- a/pkg/tbtc/moving_funds.go +++ b/pkg/tbtc/moving_funds.go @@ -546,7 +546,7 @@ func isWalletPendingMovingFundsTarget( // 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. - walletChainData, err := chain.GetWallet(walletPublicKeyHash) + walletChainData, err := chain.GetWallet(event.WalletPublicKeyHash) if err != nil { return false, fmt.Errorf( "cannot get wallet's chain data: [%w]",