Skip to content

Commit

Permalink
fix: do not trim values in payment_amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Oct 25, 2023
1 parent 297b50a commit eaf27d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/governance/classes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ std::string CSuperblock::GetHexStrData() const
return EncodeDestination(dest);
});
std::string str_amounts = Join(vecPayments, "|", [&](const auto& payment) {
return FormatMoney(payment.nAmount);
return ValueFromAmount(payment.nAmount).get_str();
});
std::string str_hashes = Join(vecPayments, "|", [&](const auto& payment) { return payment.proposalHash.ToString(); });

Expand Down

0 comments on commit eaf27d9

Please sign in to comment.