mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Some extra debug help.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user