mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 18:26:51 +00:00
Always check the sequence when adding to the transaction queue:
* If multiple transactions are queued for the account, change the account's sequence number in a temporary view before processing the transaction. * Adds a new "at()" interface to STObject which is identical to the operator[], but easier to write and read when dealing with ptrs. * Split the TxQ tests into two suites to speed up parallel run times.
This commit is contained in:
committed by
manojsdoshi
parent
a3f2196d4e
commit
77ec62e9c8
@@ -247,7 +247,7 @@ Transactor::checkSeqProxy(
|
||||
{
|
||||
JLOG(j.trace())
|
||||
<< "applyTransaction: delay: source account does not exist "
|
||||
<< toBase58(tx.getAccountID(sfAccount));
|
||||
<< toBase58(id);
|
||||
return terNO_ACCOUNT;
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ Transactor::checkPriorTxAndLastLedger(PreclaimContext const& ctx)
|
||||
{
|
||||
JLOG(ctx.j.trace())
|
||||
<< "applyTransaction: delay: source account does not exist "
|
||||
<< toBase58(ctx.tx.getAccountID(sfAccount));
|
||||
<< toBase58(id);
|
||||
return terNO_ACCOUNT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user