fix: ux: Add cmd outputs
Adding command outputs to `lotus wallet set-default` and `lotus wallet delete`
This commit is contained in:
@@ -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)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user