GETH始终返回0余额

时间:2019-01-03 04:39:23

标签: blockchain blockchain.info-api

我安装了GETH,并与以太坊块完全同步。 看到我的截图。

web3.eth.syncing
{
  currentBlock: 7001298,
  highestBlock: 7001400,
  knownStates: 110459512,
  pulledStates: 110393584,
  startingBlock: 567719
}

然后我尝试获取balance。但是它将始终返回0。 web3.fromWei(web3.eth.getBalance('0x59a5208B32e627891C389EbafC644145224006E8'),'ether').toString(10)

在Etherscan中,您可以看到此地址的余额。 https://etherscan.io/address/0x59a5208B32e627891C389EbafC644145224006E8

所以,为什么在同步主网络中的完整块后,geth调整为0平衡,我却用

运行了geth

geth --rpc --datadir“ / mnt / volume_sfo2_02” --syncmode“ fast”

请帮助查找此解决方案。

0 个答案:

没有答案