mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 13:35:54 +00:00
Don't stash the key when we don't need it.
This commit is contained in:
@@ -184,8 +184,7 @@ void NetworkOPs::submitTransaction(Job&, SerializedTransaction::pointer iTrans,
|
||||
{
|
||||
try
|
||||
{
|
||||
RippleAddress fromPubKey = RippleAddress::createAccountPublic(trans->getSigningPubKey());
|
||||
if (!trans->checkSign(fromPubKey))
|
||||
if (!trans->checkSign())
|
||||
{
|
||||
cLog(lsWARNING) << "Submitted transaction has bad signature";
|
||||
theApp->isNewFlag(suppress, SF_BAD);
|
||||
|
||||
Reference in New Issue
Block a user