From c626e2f2d26c69639a3167ac47186aacb6f152fc Mon Sep 17 00:00:00 2001 From: zigBalthazar Date: Sun, 30 Jul 2023 11:34:53 +0330 Subject: [PATCH] fix: lint errors --- cmd/gtk/dialog_transaction_bond.go | 2 +- cmd/gtk/dialog_transaction_transfer.go | 2 +- cmd/gtk/utils.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/gtk/dialog_transaction_bond.go b/cmd/gtk/dialog_transaction_bond.go index 394aa5e08..42fe7dedc 100644 --- a/cmd/gtk/dialog_transaction_bond.go +++ b/cmd/gtk/dialog_transaction_bond.go @@ -55,7 +55,7 @@ func broadcastTransactionBond(wallet *wallet.Wallet, valAddrs []crypto.Address) onAmountChanged := func() { amtStr, _ := amountEntry.GetText() - updateFeeHint(amountHint, amtStr, wallet,payload.PayloadTypeBond) + updateFeeHint(amountHint, amtStr, wallet, payload.PayloadTypeBond) } onSend := func() { diff --git a/cmd/gtk/dialog_transaction_transfer.go b/cmd/gtk/dialog_transaction_transfer.go index f6054d32e..d93ca2090 100644 --- a/cmd/gtk/dialog_transaction_transfer.go +++ b/cmd/gtk/dialog_transaction_transfer.go @@ -47,7 +47,7 @@ func broadcastTransactionSend(wallet *wallet.Wallet) { onAmountChanged := func() { amtStr, _ := amountEntry.GetText() - updateFeeHint(amountHint, amtStr, wallet,payload.PayloadTypeTransfer) + updateFeeHint(amountHint, amtStr, wallet, payload.PayloadTypeTransfer) } onSend := func() { diff --git a/cmd/gtk/utils.go b/cmd/gtk/utils.go index 05576d708..0b57a587e 100644 --- a/cmd/gtk/utils.go +++ b/cmd/gtk/utils.go @@ -177,7 +177,7 @@ func updateAccountHint(lbl *gtk.Label, addr string, w *wallet.Wallet) { } } -func updateFeeHint(lbl *gtk.Label, amtStr string, w *wallet.Wallet,payloadType payload.Type) { +func updateFeeHint(lbl *gtk.Label, amtStr string, w *wallet.Wallet, payloadType payload.Type) { amount, err := util.StringToChange(amtStr) if err != nil { updateHintLabel(lbl, "")