Skip to content

Commit f891fd9

Browse files
CoreyLinkaralabe
authored andcommitted
core/vm: fix comment grammar (#19923)
* core/vm:modify comment errors * modify its back to it's
1 parent beff5fa commit f891fd9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎core/vm/contract.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func (c *Contract) Address() common.Address {
162162
return c.self.Address()
163163
}
164164

165-
// Value returns the contracts value (sent to it from it's caller)
165+
// Value returns the contract's value (sent to it from it's caller)
166166
func (c *Contract) Value() *big.Int {
167167
return c.value
168168
}

‎core/vm/evm.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type (
3535
CanTransferFunc func(StateDB, common.Address, *big.Int) bool
3636
// TransferFunc is the signature of a transfer function
3737
TransferFunc func(StateDB, common.Address, common.Address, *big.Int)
38-
// GetHashFunc returns the nth block hash in the blockchain
38+
// GetHashFunc returns the n'th block hash in the blockchain
3939
// and is used by the BLOCKHASH EVM op code.
4040
GetHashFunc func(uint64) common.Hash
4141
)

0 commit comments

Comments
 (0)