2018-04-07-0420Z


reason #1183 I hate geth:

> first = eth.getBalance(eth.accounts[0])
1.845e+21
> second = eth.getBalance(eth.accounts[1])
0
> first + second
"1.845e+210"
> need = web3.toWei(10, "ether")
"10000000000000000000"
> first + second > need
false

this is on a private test net. no, I'm not rich. not yet, anyway.

Back to blog or home page

last updated 2018-04-07 00:22:07. served from tektonic.jcomeau.com