在创建创世区块时,有时候会报错“string without 0x prefix into Go struct field Genesis.extraData of type hexutil.Bytes”,要解决这个问题,将创世区块中的extraData中的内容删掉,或者直接删掉这一条,都可以解决这个报错,且对运行无影响
以太坊运行报错“string without 0x prefix into Go struct field Genesis.extraData of type hexutil.Bytes”的解决方法
本文介绍了解决创建创世区块时报错“stringwithout0xprefixintoGostructfieldGenesis.extraDataoftypehexutil.Bytes”的方法。解决方案包括删除extraData字段的内容或整个字段,这不会影响系统的正常运行。

被折叠的 条评论
为什么被折叠?



