Skip to content

Commit

Permalink
fix(wallet): add memo in confirmation wallet CLI (#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad authored Sep 10, 2024
1 parent 1c6ddfe commit fe806c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/wallet/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func buildTransferTxCmd(parentCmd *cobra.Command) {
cmd.PrintInfoMsgf("To : %s", to)
cmd.PrintInfoMsgf("Amount: %s", amt)
cmd.PrintInfoMsgf("Fee : %s", trx.Fee())
cmd.PrintInfoMsgf("Memo : %s", trx.Memo())

signAndPublishTx(wlt, trx, *noConfirmOpt, *passOpt)
}
Expand Down Expand Up @@ -106,6 +107,7 @@ func buildBondTxCmd(parentCmd *cobra.Command) {
cmd.PrintInfoMsgf("Validator: %s", to)
cmd.PrintInfoMsgf("Stake : %s", amt)
cmd.PrintInfoMsgf("Fee : %s", trx.Fee())
cmd.PrintInfoMsgf("Memo : %s", trx.Memo())

signAndPublishTx(wlt, trx, *noConfirmOpt, *passOpt)
}
Expand Down Expand Up @@ -145,6 +147,7 @@ func buildUnbondTxCmd(parentCmd *cobra.Command) {
cmd.PrintInfoMsgf("You are going to sign this \033[1mUnbond\033[0m transition:")
cmd.PrintInfoMsgf("Validator: %s", from)
cmd.PrintInfoMsgf("Fee : %s", trx.Fee())
cmd.PrintInfoMsgf("Memo : %s", trx.Memo())

signAndPublishTx(wlt, trx, *noConfirmOpt, *passOpt)
}
Expand Down Expand Up @@ -189,6 +192,7 @@ func buildWithdrawTxCmd(parentCmd *cobra.Command) {
cmd.PrintInfoMsgf("Account : %s", to)
cmd.PrintInfoMsgf("Amount : %s", amt)
cmd.PrintInfoMsgf("Fee : %s", trx.Fee())
cmd.PrintInfoMsgf("Memo : %s", trx.Memo())

signAndPublishTx(wlt, trx, *noConfirmOpt, *passOpt)
}
Expand Down

0 comments on commit fe806c9

Please sign in to comment.