Closed aker0357 closed 5 years ago
ERROR: send tx error rpc error: code = Unknown desc = VerifyError invalid chain_id, should be 1020, yours:1024 https://github.com/iost-official/go-iost/blob/master/iwallet/root.go#L83
rootCmd.PersistentFlags().Uint32VarP(&chainID, "chain_id", "", uint32(1024), "chain id which distinguishes different network")
at root.go chainId should be 1020
It should be 1024 since the iwallet is build for mainnet. If you want to use it in other network, add --chain_id xxx in the command
--chain_id xxx
thanks
ERROR: send tx error rpc error: code = Unknown desc = VerifyError invalid chain_id, should be 1020, yours:1024 https://github.com/iost-official/go-iost/blob/master/iwallet/root.go#L83
rootCmd.PersistentFlags().Uint32VarP(&chainID, "chain_id", "", uint32(1024), "chain id which distinguishes different network")
at root.go chainId should be 1020