Merge pull request #3657

fdbc2b1 If requested, actually treat uncomfirmed change as being uncomfirmed (b6393ce9-d324-4fe1-996b-acf82dbc3d53)
This commit is contained in:
Wladimir J. van der Laan committed 2014-02-13 12:28:19 +01:00
commit ea062655e0
1 file changed
+1 -1
+1 -1
View File
@@ -702,7 +702,7 @@ public:
return false;
if (GetDepthInMainChain() >= 1)
return true;
if (!IsFromMe()) // using wtx's cached debit
if (!bSpendZeroConfChange || !IsFromMe()) // using wtx's cached debit
return false;
// If no confirmations but it's from us, we can still