assert if the sanitized transaction differs materially from the submitted

transaction.
This commit is contained in:
JoelKatz
2012-08-19 22:52:14 -07:00
parent aa1f923306
commit 532db8be35

View File

@@ -65,6 +65,7 @@ Transaction::pointer NetworkOPs::submitTransaction(const Transaction::pointer& t
Transaction::pointer tpTransNew = Transaction::sharedTransaction(s.getData(), true);
assert(tpTransNew);
assert(tpTransNew->getSTransaction()->isEquivalent(*tpTrans->getSTransaction()));
(void) NetworkOPs::processTransaction(tpTransNew);