diff options
author | Corey Lin <514971757@qq.com> | 2019-08-07 17:53:16 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-08-07 17:53:16 +0800 |
commit | f891fd98754b49b351e3a289578bf3072c3e8c8a (patch) | |
tree | 2f6ea5d7039bb51c0a9c09c976056b3ae8c06cb2 /core/vm | |
parent | beff5fa578b5349004d146d6e399aa0cca1550e5 (diff) | |
download | go-tangerine-f891fd98754b49b351e3a289578bf3072c3e8c8a.tar go-tangerine-f891fd98754b49b351e3a289578bf3072c3e8c8a.tar.gz go-tangerine-f891fd98754b49b351e3a289578bf3072c3e8c8a.tar.bz2 go-tangerine-f891fd98754b49b351e3a289578bf3072c3e8c8a.tar.lz go-tangerine-f891fd98754b49b351e3a289578bf3072c3e8c8a.tar.xz go-tangerine-f891fd98754b49b351e3a289578bf3072c3e8c8a.tar.zst go-tangerine-f891fd98754b49b351e3a289578bf3072c3e8c8a.zip |
core/vm: fix comment grammar (#19923)
* core/vm:modify comment errors
* modify its back to it's
Diffstat (limited to 'core/vm')
-rw-r--r-- | core/vm/contract.go | 2 | ||||
-rw-r--r-- | core/vm/evm.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/contract.go b/core/vm/contract.go index 20baa6e75..375e24bc1 100644 --- a/core/vm/contract.go +++ b/core/vm/contract.go @@ -162,7 +162,7 @@ func (c *Contract) Address() common.Address { return c.self.Address() } -// Value returns the contracts value (sent to it from it's caller) +// Value returns the contract's value (sent to it from it's caller) func (c *Contract) Value() *big.Int { return c.value } diff --git a/core/vm/evm.go b/core/vm/evm.go index 98d9e31fb..751c1fdc1 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -35,7 +35,7 @@ type ( CanTransferFunc func(StateDB, common.Address, *big.Int) bool // 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 + // GetHashFunc returns the n'th block hash in the blockchain // and is used by the BLOCKHASH EVM op code. GetHashFunc func(uint64) common.Hash ) |