core/vm: clear linter warnings (#17057)
* core/vm: clear linter warnings * core/vm: review input * core/vm.go: revert lint in noop as per request
This commit is contained in:
committed by
Péter Szilágyi
parent
461291882e
commit
598f786aab
@ -31,8 +31,10 @@ import (
|
||||
var emptyCodeHash = crypto.Keccak256Hash(nil)
|
||||
|
||||
type (
|
||||
// CanTransferFunc is the signature of a transfer guard function
|
||||
CanTransferFunc func(StateDB, common.Address, *big.Int) bool
|
||||
TransferFunc func(StateDB, common.Address, common.Address, *big.Int)
|
||||
// TransferFunc is the signature of a transfer function
|
||||
TransferFunc func(StateDB, common.Address, common.Address, *big.Int)
|
||||
// GetHashFunc returns the nth block hash in the blockchain
|
||||
// and is used by the BLOCKHASH EVM op code.
|
||||
GetHashFunc func(uint64) common.Hash
|
||||
|
Reference in New Issue
Block a user