diff --git a/src/Features/Blockcore.Features.Wallet/WalletManager.cs b/src/Features/Blockcore.Features.Wallet/WalletManager.cs index f677036ca..683237f33 100644 --- a/src/Features/Blockcore.Features.Wallet/WalletManager.cs +++ b/src/Features/Blockcore.Features.Wallet/WalletManager.cs @@ -856,7 +856,7 @@ public AddressBalance GetAddressBalance(string address) foreach (Types.Wallet wallet in this.Wallets) { - hdAddress = wallet.GetAllAddresses().FirstOrDefault(a => a.Address == address); + hdAddress = wallet.GetAllAddresses().FirstOrDefault(a => a.Address == address || a.Bech32Address == address); if (hdAddress == null) continue; // When this query to get balance on specific address, we will exclude the cold staking UTXOs. @@ -2067,4 +2067,4 @@ public ExtKey GetExtKey(WalletAccountReference accountReference, string password return new ExtKey(privateKey, wallet.ChainCode); } } -} \ No newline at end of file +}