From 49c97f53b4ab33cf59e79f2f30bfd026ffb41bca Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 26 May 2013 16:50:28 -0700 Subject: [PATCH] ChangeTransactor rejects transactions with hash dependencies. --- src/cpp/ripple/ChangeTransactor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/ChangeTransactor.cpp b/src/cpp/ripple/ChangeTransactor.cpp index 30da3e1ebc..746f01c703 100644 --- a/src/cpp/ripple/ChangeTransactor.cpp +++ b/src/cpp/ripple/ChangeTransactor.cpp @@ -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;