From f7810215a538e9a538ba36534c81553b745b426c Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 2 Jun 2013 01:48:07 -0700 Subject: [PATCH] Actually set the cached transaction state. --- src/cpp/ripple/Transactor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/ripple/Transactor.cpp b/src/cpp/ripple/Transactor.cpp index be4366d7b7..6a7bf4a683 100644 --- a/src/cpp/ripple/Transactor.cpp +++ b/src/cpp/ripple/Transactor.cpp @@ -171,11 +171,11 @@ TER Transactor::preCheck() { if (mTxn.isKnownBad() || (!isSetBit(mParams, tapNO_CHECK_SIGN) && !mTxn.checkSign(mSigningPubKey))) { - mTxn.setGood(); + mTxn.setBad(); WriteLog (lsWARNING, Transactor) << "applyTransaction: Invalid transaction: bad signature"; return temINVALID; } - mTxn.isKnownGood(); + mTxn.setGood(); } return tesSUCCESS;