mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Some small missing pieces for TX metadata.
This commit is contained in:
@@ -862,7 +862,7 @@ TransactionEngineResult TransactionEngine::applyTransaction(const SerializedTran
|
||||
naSigningPubKey = NewcoinAddress::createAccountPublic(txn.peekSigningPubKey());
|
||||
|
||||
// Consistency: really signed.
|
||||
if (terSUCCESS == terResult && !txn.checkSign(naSigningPubKey))
|
||||
if ((terSUCCESS == terResult) && ((params & tepNO_CHECK_SIGN) == 0) && !txn.checkSign(naSigningPubKey))
|
||||
{
|
||||
Log(lsWARNING) << "applyTransaction: Invalid transaction: bad signature";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user