Clean and harden Transaction.

* Replace boolean parameter with enumerated type.
* Get rid of std::ref.
* 80-column cleanups.
* Replace an std::bin with a lambda.
This commit is contained in:
Tom Ritchford
2014-09-26 14:22:18 -04:00
committed by Vinnie Falco
parent f54280aaad
commit 4241dbb600
11 changed files with 157 additions and 98 deletions

View File

@@ -381,7 +381,7 @@ Json::Value transactionSign (
try
{
tpTrans = std::make_shared<Transaction> (stpTrans, false);
tpTrans = std::make_shared<Transaction> (stpTrans, Validate::NO);
}
catch (std::exception&)
{