mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
Update contracts.go
This commit is contained in:
parent
9a93c9840f
commit
0dfeb8000d
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ import (
|
|||
// requires a deterministic gas count based on the input size of the Run method of the
|
||||
// contract.
|
||||
type PrecompiledContract interface {
|
||||
RequiredGas(input []byte) uint64 // RequiredGas calculates the contract gas use
|
||||
RequiredGas(input []byte) uint64 // RequiredGas calculates the contract gas use
|
||||
Run(input []byte) ([]byte, error) // Run runs the precompiled contract
|
||||
Name() string
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue