Unverified Commit a0bcb168 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #17244 from chainpunk/master

core: fix typo in comment code
parents 1064b9e6 bc0a4319
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment