mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't assert on a bad format transaction.
This commit is contained in:
@@ -53,7 +53,7 @@ SerializedTransaction::SerializedTransaction(SerializerIterator& sit) : STObject
|
||||
}
|
||||
if (!setType(mFormat->elements))
|
||||
{
|
||||
assert(false);
|
||||
WriteLog (lsWARNING, SerializedTransaction) << "Transaction not legal for format";
|
||||
throw std::runtime_error("transaction not valid");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user