From 88ff8767bbb0fa477460ded274da9c831128a4df Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 18 Jan 2012 11:44:47 -0800 Subject: [PATCH] Some extra debug help. --- Transaction.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Transaction.cpp b/Transaction.cpp index a9736da240..bab9061040 100644 --- a/Transaction.cpp +++ b/Transaction.cpp @@ -23,10 +23,17 @@ Transaction::Transaction(LocalAccount::pointer fromLocalAccount, const uint160& mAccountFrom=fromLocalAccount->getAddress(); mFromPubKey=fromLocalAccount->getPublicKey(); mFromAccountSeq=fromLocalAccount->getAcctSeq(); + +#ifdef DEBUG + std::cerr << "Construct local Txn" << std::endl; + std::cerr << "ledger(" << ledger << "), fromseq(" << mFromAccountSeq << ")" << std::endl; +#endif + if(!mFromAccountSeq) { #ifdef DEBUG std::cerr << "Bad source account sequence" << std::endl; + assert(false); #endif mStatus=INCOMPLETE; }