mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 00:15:51 +00:00
Remove tx invalid assertion - exception should be enough.
Jed's words, not mine. ;)
This commit is contained in:
@@ -25,7 +25,6 @@ SerializedTransaction::SerializedTransaction(const STObject& object) : STObject(
|
|||||||
throw std::runtime_error("invalid transaction type");
|
throw std::runtime_error("invalid transaction type");
|
||||||
if (!setType(mFormat->elements))
|
if (!setType(mFormat->elements))
|
||||||
{
|
{
|
||||||
assert(false);
|
|
||||||
throw std::runtime_error("transaction not valid");
|
throw std::runtime_error("transaction not valid");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user