Hash is not valid if transaction is added to ledger.

This commit is contained in:
JoelKatz
2013-05-16 00:57:56 -07:00
parent d432b93bfa
commit 379875ae47

View File

@@ -256,6 +256,7 @@ bool Ledger::addTransaction(const uint256& txID, const Serializer& txn)
cLog(lsWARNING) << "Attempt to add transaction to ledger that already had it";
return false;
}
mValidHash = false;
return true;
}
@@ -270,6 +271,7 @@ bool Ledger::addTransaction(const uint256& txID, const Serializer& txn, const Se
cLog(lsFATAL) << "Attempt to add transaction+MD to ledger that already had it";
return false;
}
mValidHash = false;
return true;
}