Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar committed Jul 30, 2023
1 parent 133832b commit c626e2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/gtk/dialog_transaction_bond.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/gtk/dialog_transaction_transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/gtk/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "")
Expand Down

0 comments on commit c626e2f

Please sign in to comment.