Don't stash the key when we don't need it.

This commit is contained in:
JoelKatz
2013-05-15 15:54:52 -07:00
parent 2b39f6a618
commit e94802bc2a

View File

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