UI fix for calculating amounts correctly

This commit is contained in:
David Burkett 2022-03-02 06:47:55 -05:00 committed by Loshan T
parent 6b88691d7c
commit d3de60d46f

View File

@ -49,7 +49,7 @@ WalletTxOut MakeWalletTxOut(CWallet& wallet,
if (output.IsMWEB()) {
mw::Coin coin;
if (wallet.GetCoin(output.ToMWEB(), coin) && coin.IsMine()) {
if (wallet.GetCoin(output.ToMWEB(), coin)) {
StealthAddress addr;
if (wallet.GetMWWallet()->GetStealthAddress(coin, addr)) {
result.address = addr;