Merge pull request #9416 from filecoin-project/fix/wallet-cmd-outputs
fix: ux: Add outputs to wallet commands
This commit is contained in:
commit
e57a27e12a
@ -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)
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user