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:
Nik Bougalis
2014-03-03 13:37:08 -08:00
parent fc129e43fd
commit 569b3a46a1
10 changed files with 102 additions and 157 deletions

View File

@@ -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);