Skip to content

Commit

Permalink
Uplift of #6757 (squashed) to release
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-browser-releases committed Oct 5, 2020
1 parent 44bf9a1 commit a7f2cc0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ std::string PostTransaction::GetUrl(const std::string& address) {
std::string PostTransaction::GeneratePayload(
const ::ledger::uphold::Transaction& transaction) {
base::Value denomination(base::Value::Type::DICTIONARY);
denomination.SetDoubleKey("amount", transaction.amount);
denomination.SetStringKey(
"amount",
base::StringPrintf("%f", transaction.amount));
denomination.SetStringKey("currency", "BAT");

base::Value payload(base::Value::Type::DICTIONARY);
Expand Down

0 comments on commit a7f2cc0

Please sign in to comment.