Skip to content
Snippets Groups Projects
Commit e388e7be authored by Gomez Goiri, Aitor's avatar Gomez Goiri, Aitor
Browse files

Fixing log message

parent 884c91be
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ func RegisterSale(stub shared.LedgerBuildrStubInterface, quantity uint32, price
orgStats.UpgradeSell(quantity, price, units)
orgStats.UpgradeSell(quantity, price, units)
log.Debug(fmt.Sprintf("Sale registered in stats (quantity: %s, price: %s, units: %s)", quantity, price, units))
log.Debug(fmt.Sprintf("Sale registered in stats (quantity: %d %s, price: %.2f €)", quantity, units, price))
err = upgradeStats(stub, globalStats, orgStats)
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment