forked from lthn/blockchain
forbidding TX_FLAG_SIGNATURE_MODE_SEPARATE for miner txs
This commit is contained in:
parent
95e8954c38
commit
bbff52e937
1 changed files with 5 additions and 0 deletions
|
|
@ -5865,6 +5865,11 @@ bool blockchain_storage::validate_tx_for_hardfork_specific_terms(const transacti
|
|||
{
|
||||
return false;
|
||||
}
|
||||
if (is_coinbase(tx) && get_tx_flags(tx) & TX_FLAG_SIGNATURE_MODE_SEPARATE)
|
||||
{
|
||||
LOG_ERROR("TX_FLAG_SIGNATURE_MODE_SEPARATE not allowed for coinbase tx");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue