Revert "Reduce SHAMapTreeNode copying during SHAMap unsharing:"

This reverts commit 47c6ab0ced.
This commit is contained in:
Mark Travis
2015-05-30 13:55:20 -07:00
committed by Vinnie Falco
parent aaf209485c
commit 52879d964e
4 changed files with 3 additions and 6 deletions

View File

@@ -413,9 +413,8 @@ public:
}
if (didApply)
{
ledger->setImmutable (); // So the next line doesn't have to copy
mCurrentLedger.set (ledger);
getApp().getOPs ().pubProposedTransaction (ledger, txn, result);
mCurrentLedger.set (ledger);
getApp().getOPs ().pubProposedTransaction (ledger, txn, result);
}
return result;
}