mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-27 13:22:56 +00:00
miner: fix txFitsSize comment (#34100)
Rename the comment so it matches the helper name.
This commit is contained in:
parent
8a3a309fa9
commit
1b3b028d1d
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ type environment struct {
|
|||
witness *stateless.Witness
|
||||
}
|
||||
|
||||
// txFits reports whether the transaction fits into the block size limit.
|
||||
// txFitsSize reports whether the transaction fits into the block size limit.
|
||||
func (env *environment) txFitsSize(tx *types.Transaction) bool {
|
||||
return env.size+tx.Size() < params.MaxBlockSize-maxBlockSizeBufferZone
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue