forked from lthn/blockchain
utxo generated with money format
This commit is contained in:
parent
f219493a7e
commit
fb60f6d5fe
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue