一、 state node 96ae5d…04154f failed with all peers (1 tries, 1 peers) 问题解决
A节点同步B节点时候,B节点一直报state node 96ae5d…04154f failed with all peers (1 tries, 1 peers)
错误
解决方法:A一直挖矿,之后B就可以同步了
二、 geth中调用智能合约时,使用了truffle.abi 中的abi时,调用方法会弹出
geth TypeError: Cannot access member 'match' of undefined
原因:truffle.abi 获取到的abi中的方法为空,需要使用build文件中的abi
三、 调用合约方法时提示invalid address
原因:设置默认账户地址 eth.defaultAccount = eth.accounts[0]