fix byte code decode bug
@@ -62,7 +62,7 @@ func init() {
}
func decodeBytecode() ([]byte, error) {
- return hex.DecodeString(strings.TrimLeft(bytecodeFlag.Value().(string), "0x"))
+ return hex.DecodeString(strings.TrimPrefix(bytecodeFlag.Value().(string), "0x"))
}
func signer() (address string, err error) {
