以太坊运行报错“string without 0x prefix into Go struct field Genesis.extraData of type hexutil.Bytes”的解决方法

在创建创世区块时,有时候会报错“string without 0x prefix into Go struct field Genesis.extraData of type hexutil.Bytes”,要解决这个问题,将创世区块中的extraData中的内容删掉,或者直接删掉这一条,都可以解决这个报错,且对运行无影响

猜你喜欢

转载自blog.csdn.net/it_zhangxiang/article/details/80097056