Closed kazaff closed 6 years ago
The balance is computed from the current chain head and does not include pending transactions.
Please see https://github.com/ethereum/wiki/blob/master/ISSUE_TEMPLATE.md but looks like your question has been answered.
Hi there,
I wonder that when we create a transaction and send it with
eth_sendRawTransaction
RPC method, how the Geth can make sure the error(Insufficient funds for gas * price + value) was happened?I mean i know the source code in here:
But I would like to know the detail about
currentState.GetBalance(from)
like:DO the from address's balance include any transaction in pending? or just only contain completed transaction?
Thanks in advance!!