Improve debugging for applyTransaction.

This commit is contained in:
Arthur Britto
2012-05-15 13:04:37 -07:00
parent 329b1437b0
commit 099d707878
2 changed files with 61 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
#include <cassert>
#include <boost/format.hpp>
#include "boost/lexical_cast.hpp"
#include "boost/make_shared.hpp"
#include "boost/ref.hpp"
@@ -65,6 +66,8 @@ Transaction::Transaction(
mTransaction = boost::make_shared<SerializedTransaction>(ttKind);
std::cerr << str(boost::format("Transaction: account: %s") % naSourceAccount.humanAccountID()) << std::endl;
std::cerr << str(boost::format("Transaction: mAccountFrom: %s") % mAccountFrom.humanAccountID()) << std::endl;
mTransaction->setSigningPubKey(mFromPubKey);
mTransaction->setSourceAccount(mAccountFrom);
mTransaction->setSequence(uSeq);