chainID:100012022/03/1015:59:33 failed to deploy demo: json: cannot unmarshal hex string without 0x prefix into Go struct field Header.miner of type common.Address
以太坊学习笔记(三):cannot unmarshal hex string without 0x prefix
背景最近通过SDK调用以太坊合约,在部署合约时出现:chainID: 100012022/03/10 15:59:33 failed to deploy demo1: json: cannot unmarshal hex string without 0x prefix into Go struct field Header.miner of type common.Address解决思路主要尝试以下方法:1、将address前面加上0x,结果是不起作用2、换版本将引用的以太坊包换成1.