Skip to content

Commit bc0a431

Browse files
committed
core: fix typo in comment code
1 parent 10780e8 commit bc0a431

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/evm.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func GetHashFn(ref *types.Header, chain ChainContext) func(n uint64) common.Hash
8484
}
8585
}
8686

87-
// CanTransfer checks wether there are enough funds in the address' account to make a transfer.
87+
// CanTransfer checks whether there are enough funds in the address' account to make a transfer.
8888
// This does not take the necessary gas in to account to make the transfer valid.
8989
func CanTransfer(db vm.StateDB, addr common.Address, amount *big.Int) bool {
9090
return db.GetBalance(addr).Cmp(amount) >= 0

0 commit comments

Comments
 (0)