Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Features/Blockcore.Features.Wallet/WalletManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -2067,4 +2067,4 @@ public ExtKey GetExtKey(WalletAccountReference accountReference, string password
return new ExtKey(privateKey, wallet.ChainCode);
}
}
}
}