From fa900de5487869294f4b381dbe2db71526d50215 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Wed, 22 Jul 2015 20:48:34 -0700 Subject: [PATCH] Fix applyFlags when testing is disabled --- src/ripple/test/jtx/impl/Env.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ripple/test/jtx/impl/Env.cpp b/src/ripple/test/jtx/impl/Env.cpp index 8e72f3faa2..4bfd30398b 100644 --- a/src/ripple/test/jtx/impl/Env.cpp +++ b/src/ripple/test/jtx/impl/Env.cpp @@ -370,7 +370,9 @@ Env::st (JTx const& jt) ApplyFlags Env::applyFlags() const { - return tapENABLE_TESTING; + if (testing_) + return tapENABLE_TESTING; + return tapNONE; } } // jtx