Skip to content

Commit a729957

Browse files
committed
Format fix πŸ€“β˜οΈ
Errm this is the wrong type πŸ€“β˜οΈπŸ€“β˜οΈπŸ€“β˜οΈπŸ€“β˜οΈ
1 parent c0a53a8 commit a729957

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

β€Žnode/node.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func handleEvents(event string, peer *gonetic.Peer) {
317317
}
318318

319319
nextutils.Debug("%s", "[BALANCE] "+string(amountJson))
320-
nextutils.Debug("%s", nxtutxodb.GetUTXODatabase())
320+
nextutils.Debug("%v", nxtutxodb.GetUTXODatabase())
321321
peer.Broadcast("RESPONSE_BALANCE_" + string(amountJson) + "_" + walletAddr)
322322
}
323323
} else if strings.HasPrefix(event_body, "TRANSACTIONS_") {

β€Žwallet/wallet.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func start(Peer *gonetic.Peer, msg ...string) {
132132
fmt.Println("FEE: ", fmt.Sprintf("%d%%", fee))
133133
fmt.Printf("FEE IN NXT: %d\n", int64(float64(nxtblock.ConvertAmountBack(amount))*(float64(fee)/100)))
134134
fmt.Println("=====================================")
135-
nextutils.Debug("%s", "Transaction details: "+fmt.Sprintf("FROM: %s, TO: %s, AMOUNT: %d, FEE: %d", walletAddr, to, amount, fee))
135+
nextutils.Debug("%s", "Transaction details: "+fmt.Sprintf("FROM: %s, TO: %s, AMOUNT: %f, FEE: %d", walletAddr, to, amount, fee))
136136

137137
nextutils.Debug("%s", "Requesting unspent transaction outputs (UTXOs) for wallet: "+walletAddr)
138138
getInputs(Peer, walletAddr)

0 commit comments

Comments
Β (0)