I have built a private chain with two node on two computer. The smart contract was successfully deployed on node1,and i can call the method on node1 ,but when i call the same method on node2,it occur the error new BigNumber not a base 16 number the error on node2

the return on node1

BTW,the two node have the same block number!

  • 1
    the first pic is the error on node2,and the second pic is the return on node1 – zetao_zheng Jul 13 '18 at 13:42
  • 1
    check if they are synched – Badr Bellaj Jul 13 '18 at 19:05
  • 1
    if the two nodes have the same block number means they are synched? I check the block number on two nodes by using the command eth.getBlock("latest").number and both of them return 953. – zetao_zheng Jul 14 '18 at 10:22
  • check using .toNumber() – Badr Bellaj Jul 14 '18 at 10:49
  • Do you mean the eth.getBalance(eth.coinbase).toNumber() function?? I executed this command above on the two nodes and get the same result . – zetao_zheng Jul 14 '18 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.