From ab9f3fa42aed39477a8a9d27c46830ada9ab890a Mon Sep 17 00:00:00 2001 From: seelabs Date: Mon, 10 Aug 2020 12:09:46 -0400 Subject: [PATCH] Remove assert from Keylet: Some transactions specify a keylet directly (Checks, for example). In those cases, the assert will trigger even though there is no error. --- src/ripple/protocol/impl/Keylet.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ripple/protocol/impl/Keylet.cpp b/src/ripple/protocol/impl/Keylet.cpp index 8c1813ee0..4e998f4e8 100644 --- a/src/ripple/protocol/impl/Keylet.cpp +++ b/src/ripple/protocol/impl/Keylet.cpp @@ -34,7 +34,6 @@ Keylet::check(SLE const& sle) const assert(sle.getType() != ltDIR_NODE); return sle.getType() != ltDIR_NODE; } - assert(sle.getType() == type); return sle.getType() == type; }