PR review fixes

This commit is contained in:
Ian Norden
2020-07-03 14:36:06 -05:00
parent d7aa9ccf9f
commit 5d0a9cc393
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -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() {
+1 -1
View File
@@ -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() {
+1 -5
View File
@@ -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"
)