diff --git a/src/Stratis.Bitcoin.Features.Wallet/WalletRPCController.cs b/src/Stratis.Bitcoin.Features.Wallet/WalletRPCController.cs index 8b4101cf6e..708ef3a9d5 100644 --- a/src/Stratis.Bitcoin.Features.Wallet/WalletRPCController.cs +++ b/src/Stratis.Bitcoin.Features.Wallet/WalletRPCController.cs @@ -785,7 +785,7 @@ public UnspentCoinModel[] ListUnspent(int minConfirmations = 1, int maxConfirmat // Check if the transaction is already in the list. // The node operator could be using the wallet for both "actual" and watch only accounts. - if (unspentCoins.Any(u => u.Id == spendableTx.Transaction.Id)) + if (unspentCoins.Any(u => u.Id == spendableTx.Transaction.Id && u.Index == spendableTx.Transaction.Index)) continue; unspentCoins.Add(new UnspentCoinModel()