1
0
Fork 0
forked from lthn/blockchain

utxo generated with money format

This commit is contained in:
cryptozoidberg 2020-02-09 18:30:52 +01:00
parent f219493a7e
commit fb60f6d5fe
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -199,7 +199,7 @@ namespace tools
std::map<uint64_t, uint64_t> 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;
}