Commit 492e309f authored by presstab's avatar presstab

Do not consider coinstake txin's as conflicting spends.

parent f0177cf6
......@@ -342,7 +342,7 @@ set<uint256> CWallet::GetConflicts(const uint256& txid) const
AssertLockHeld(cs_wallet);
std::map<uint256, CWalletTx>::const_iterator it = mapWallet.find(txid);
if (it == mapWallet.end())
if (it == mapWallet.end() || it->second.IsCoinStake() || it->second.IsCoinBase())
return result;
const CWalletTx& wtx = it->second;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment