diff --git a/chaincode/controller/stats/stub.go b/chaincode/controller/stats/stub.go index e20bcb71a95a44aae8d2aa927914629dd91c2214..eedc0ac02c0bbce00f2467ab2dd0f1a2e460800c 100644 --- a/chaincode/controller/stats/stub.go +++ b/chaincode/controller/stats/stub.go @@ -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 {