We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24070b0 commit 3bd1088Copy full SHA for 3bd1088
cmd/wallet/tx.go
@@ -162,14 +162,11 @@ func buildWithdrawTxCmd(parentCmd *cobra.Command) {
162
amt, err := amount.FromString(args[2])
163
cmd.FatalErrorCheck(err)
164
165
- fee, err := amount.FromString(*feeOpt)
166
- cmd.FatalErrorCheck(err)
167
-
168
wlt, err := openWallet()
169
170
171
opts := []wallet.TxOption{
172
- wallet.OptionFee(fee),
+ wallet.OptionFeeFromString(*feeOpt),
173
wallet.OptionLockTime(uint32(*lockTime)),
174
wallet.OptionMemo(*memoOpt),
175
}
0 commit comments