mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
assert if the sanitized transaction differs materially from the submitted
transaction.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user