mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
committed by
manojsdoshi
parent
2a7c573dec
commit
dcba79be48
@@ -317,12 +317,14 @@ saveValidatedLedger(
|
||||
JLOG(j.trace()) << "ActTx: " << sql;
|
||||
*db << sql;
|
||||
}
|
||||
else
|
||||
else if (auto const sleTxn = acceptedLedgerTx->getTxn();
|
||||
!isPseudoTx(*sleTxn))
|
||||
{
|
||||
// It's okay for pseudo transactions to not affect any
|
||||
// accounts. But otherwise...
|
||||
JLOG(j.warn()) << "Transaction in ledger " << seq
|
||||
<< " affects no accounts";
|
||||
JLOG(j.warn()) << acceptedLedgerTx->getTxn()->getJson(
|
||||
JsonOptions::none);
|
||||
JLOG(j.warn()) << sleTxn->getJson(JsonOptions::none);
|
||||
}
|
||||
|
||||
*db
|
||||
|
||||
@@ -274,8 +274,10 @@ updateLedgerDBs(
|
||||
JLOG(j.trace())
|
||||
<< "shard " << index << " account transaction: " << sql;
|
||||
}
|
||||
else
|
||||
else if (!isPseudoTx(*item.first))
|
||||
{
|
||||
// It's okay for pseudo transactions to not affect any
|
||||
// accounts. But otherwise...
|
||||
JLOG(j.warn())
|
||||
<< "shard " << index << " transaction in ledger "
|
||||
<< sSeq << " affects no accounts";
|
||||
|
||||
Reference in New Issue
Block a user