Fix problems in on sending raw tx with CLI
If step_limit of the transaction is specified by raw tx, it would
not override the option. To override it, it should remove step_limit
value in the raw transaction. Network ID is also same.
@@ -569,9 +569,6 @@ func NewSendTxCmd(parentCmd *cobra.Command, parentVc *viper.Viper) *cobra.Comman
},
}
rootCmd.AddCommand(rawCmd)
- rawFlags := rawCmd.Flags()
- rawFlags.String("nid", "", "Network ID")
- rawFlags.Int64("step_limit", 0, "StepLimit")
transferCmd := &cobra.Command{
Use: "transfer",
