mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 05:55:51 +00:00
ChangeTransactor rejects transactions with hash dependencies.
This commit is contained in:
@@ -33,7 +33,7 @@ TER ChangeTransactor::checkSig()
|
||||
|
||||
TER ChangeTransactor::checkSeq()
|
||||
{
|
||||
if (mTxn.getSequence() != 0)
|
||||
if ((mTxn.getSequence() != 0) || mTxn.isFieldPresent(sfPreviousTxnID))
|
||||
{
|
||||
cLog(lsWARNING) << "Change transaction had bad sequence";
|
||||
return temBAD_SEQUENCE;
|
||||
|
||||
Reference in New Issue
Block a user