Skip to content

Commit ea06265

Browse files
committed
Merge pull request #3657
fdbc2b1 If requested, actually treat uncomfirmed change as being uncomfirmed (b6393ce9-d324-4fe1-996b-acf82dbc3d53)
2 parents 19e5b9d + fdbc2b1 commit ea06265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ class CWalletTx : public CMerkleTx
702702
return false;
703703
if (GetDepthInMainChain() >= 1)
704704
return true;
705-
if (!IsFromMe()) // using wtx's cached debit
705+
if (!bSpendZeroConfChange || !IsFromMe()) // using wtx's cached debit
706706
return false;
707707

708708
// If no confirmations but it's from us, we can still

0 commit comments

Comments
 (0)