cmd/wctl: fix send_transaction payload
@@ -414,7 +414,7 @@ func main() {
payload := []byte(c.Args().Get(1))
if c.String("payload") != "" {
- payload, err = ioutil.ReadFile(c.String("path"))
+ payload, err = ioutil.ReadFile(c.String("payload"))
if err != nil {
return err
}
@@ -520,7 +520,6 @@ func main() {
sort.Sort(cli.CommandsByName(app.Commands))
if err := app.Run(os.Args); err != nil {
- fmt.Println("test")
fmt.Printf("Failed to parse configuration/command-line arguments: %+v\n", err)
}
}
