fix: ux: Add cmd outputs

Adding command outputs to `lotus wallet set-default` and `lotus wallet delete`
This commit is contained in:
Phi 2022-10-05 09:47:31 +02:00
parent e6c8de6cc6
commit d8b6904492

View File

@ -260,6 +260,7 @@ var walletSetDefault = &cli.Command{
return err
}
fmt.Println("Default address set to:", addr)
return api.WalletSetDefault(ctx, addr)
},
}
@ -517,6 +518,8 @@ var walletDelete = &cli.Command{
return err
}
fmt.Println("Soft deleting address:", addr)
fmt.Println("Hard deletion of the address in `~/.lotus/keystore` is needed for permanent removal")
return api.WalletDelete(ctx, addr)
},
}