From fb60f6d5fe1e0378fb4472f149dd2f9316188c52 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Sun, 9 Feb 2020 18:30:52 +0100 Subject: [PATCH] utxo generated with money format --- src/wallet/wallet_rpc_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index f96e6d9e..c17d8183 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -199,7 +199,7 @@ namespace tools std::map distribution; m_wallet.get_utxo_distribution(distribution); for (const auto& ent : distribution) - res.utxo_distribution.push_back(std::to_string(ent.first) + ":" + std::to_string(ent.second)); + res.utxo_distribution.push_back(currency::print_money(ent.first) + ":" + std::to_string(ent.second)); return true; }