From d3de60d46fe1bd44f626579ee44fdb82680d2782 Mon Sep 17 00:00:00 2001 From: David Burkett Date: Wed, 2 Mar 2022 06:47:55 -0500 Subject: [PATCH] UI fix for calculating amounts correctly --- src/interfaces/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp index 4edf17f06..17961b021 100644 --- a/src/interfaces/wallet.cpp +++ b/src/interfaces/wallet.cpp @@ -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;