mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
Cleanups:
- Cleanup VotableInteger class and remove unused duplicate - Remove obsolete function and move to std functions - Fix typos - Make isMemoOkay a free function - Sanitize error returns
This commit is contained in:
@@ -733,7 +733,7 @@ void NetworkOPsImp::submitTransaction (Job&, SerializedTransaction::pointer iTra
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!trans->isMemoOkay () || !trans->checkSign ())
|
||||
if (!isMemoOkay (*trans) || !trans->checkSign ())
|
||||
{
|
||||
m_journal.warning << "Submitted transaction has bad signature";
|
||||
getApp().getHashRouter ().setFlag (suppress, SF_BAD);
|
||||
|
||||
Reference in New Issue
Block a user