From bc0a43191e321acb1715cdf7de283c67a8212d9e Mon Sep 17 00:00:00 2001 From: hadv Date: Wed, 25 Jul 2018 18:04:38 +0700 Subject: [PATCH] core: fix typo in comment code --- core/evm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/evm.go b/core/evm.go index 596ea95fb7..d303c40a40 100644 --- a/core/evm.go +++ b/core/evm.go @@ -84,7 +84,7 @@ func GetHashFn(ref *types.Header, chain ChainContext) func(n uint64) common.Hash } } -// CanTransfer checks wether there are enough funds in the address' account to make a transfer. +// CanTransfer checks whether there are enough funds in the address' account to make a transfer. // This does not take the necessary gas in to account to make the transfer valid. func CanTransfer(db vm.StateDB, addr common.Address, amount *big.Int) bool { return db.GetBalance(addr).Cmp(amount) >= 0