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();
|
mAccountFrom=fromLocalAccount->getAddress();
|
||||||
mFromPubKey=fromLocalAccount->getPublicKey();
|
mFromPubKey=fromLocalAccount->getPublicKey();
|
||||||
mFromAccountSeq=fromLocalAccount->getAcctSeq();
|
mFromAccountSeq=fromLocalAccount->getAcctSeq();
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
std::cerr << "Construct local Txn" << std::endl;
|
||||||
|
std::cerr << "ledger(" << ledger << "), fromseq(" << mFromAccountSeq << ")" << std::endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
if(!mFromAccountSeq)
|
if(!mFromAccountSeq)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
std::cerr << "Bad source account sequence" << std::endl;
|
std::cerr << "Bad source account sequence" << std::endl;
|
||||||
|
assert(false);
|
||||||
#endif
|
#endif
|
||||||
mStatus=INCOMPLETE;
|
mStatus=INCOMPLETE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user