Merge pull request #9416 from filecoin-project/fix/wallet-cmd-outputs

fix: ux: Add outputs to wallet commands
This commit is contained in:
Aayush Rajasekaran 2022-10-07 00:10:10 -04:00 committed by GitHub
commit e57a27e12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
},
}