set fixed precision for total funds, too

This commit is contained in:
dimxy
2019-01-23 11:49:07 +05:00
parent 5f116e5d13
commit defe854383

View File

@@ -1161,7 +1161,7 @@ UniValue HeirInfo(uint256 fundingtxid)
if (tokenid == zeroid) {
msg = "funding total in coins";
stream << (double)total / COIN;
stream << std::fixed << std::setprecision(8) << (double)total / COIN;
}
else {
msg = "funding total in tokens";