PR review fixes
This commit is contained in:
@@ -304,7 +304,7 @@ func (c *Clique) verifyHeader(chain consensus.ChainReader, header *types.Header,
|
||||
return c.verifyCascadingFields(chain, header, parents)
|
||||
}
|
||||
|
||||
// VerifyTransactions verifies a the transactions in a block do not exceed the per-transaction gas limit
|
||||
// VerifyTransactions verifies that the transactions in a block do not exceed the per-transaction gas limit
|
||||
func (*Clique) VerifyTransactions(chain consensus.ChainReader, block *types.Block) error {
|
||||
if chain.Config().IsEIP1559(block.Number()) {
|
||||
for _, tx := range block.Transactions() {
|
||||
|
||||
@@ -170,7 +170,7 @@ func (ethash *Ethash) VerifyHeaders(chain consensus.ChainReader, headers []*type
|
||||
return abort, errorsOut
|
||||
}
|
||||
|
||||
// VerifyTransactions verifies a the transactions in a block do not exceed the per-transaction gas limit
|
||||
// VerifyTransactions verifies that the transactions in a block do not exceed the per-transaction gas limit
|
||||
func (*Ethash) VerifyTransactions(chain consensus.ChainReader, block *types.Block) error {
|
||||
if chain.Config().IsEIP1559(block.Number()) {
|
||||
for _, tx := range block.Transactions() {
|
||||
|
||||
@@ -18,16 +18,12 @@ package types
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
"github.com/ethereum/go-ethereum/params"
|
||||
|
||||
//"fmt"
|
||||
//"github.com/ethereum/go-ethereum/params"
|
||||
"math/big"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/params"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user