Add validateServiceTransactionsTransition spec option

This commit is contained in:
POA
2021-11-12 13:06:19 +03:00
parent caa210107e
commit b981f7beef
4 changed files with 51 additions and 41 deletions

View File

@@ -45,7 +45,7 @@ impl ServiceTransactionChecker {
) -> Result<bool, String> {
let sender = tx.sender();
// Skip checking the contract if the transaction does not have zero gas price
if !tx.tx().gas_price.is_zero() {
if !tx.has_zero_gas_price() {
return Ok(false);
}