Add a command to encode JSON params

This commit is contained in:
Aayush Rajasekaran
2021-01-13 02:40:06 -05:00
parent 02f33e2b8e
commit b33bf16f70
2 changed files with 88 additions and 1 deletions
+3 -1
View File
@@ -670,7 +670,7 @@ var actorSetOwnerCmd = &cli.Command{
return err
}
fromAddrId, err := api.StateLookupID(ctx, na, types.EmptyTSK)
fromAddrId, err := api.StateLookupID(ctx, fa, types.EmptyTSK)
if err != nil {
return err
}
@@ -717,6 +717,8 @@ var actorSetOwnerCmd = &cli.Command{
if wait.Receipt.ExitCode != 0 {
fmt.Println("owner change failed!")
return err
} else {
fmt.Println("message succeeded!")
}
return nil