From 978c196c78389a1d8c9ed074d1b47f42d17f14b1 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 8 Oct 2013 15:48:15 -0700 Subject: [PATCH] Don't assert, just throw. --- src/ripple_data/protocol/STAmount.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ripple_data/protocol/STAmount.cpp b/src/ripple_data/protocol/STAmount.cpp index 7c81e70341..10acd996b1 100644 --- a/src/ripple_data/protocol/STAmount.cpp +++ b/src/ripple_data/protocol/STAmount.cpp @@ -418,10 +418,7 @@ void STAmount::canonicalize () } if (mValue > cMaxNative) - { - assert (false); throw std::runtime_error ("Native currency amount out of range"); - } return; }