From d3679301132bb53496d57e137a99922a7d47d01c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 8 Jun 2015 13:20:42 +0200 Subject: [PATCH] amount is in satoshis --- lib/www/index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/www/index.html b/lib/www/index.html index 35c96336..48966785 100644 --- a/lib/www/index.html +++ b/lib/www/index.html @@ -3,10 +3,7 @@ Payment request - - - @@ -33,8 +30,8 @@ if (id) { }) .done( function(data) { new QRCode(document.getElementById("qrcode"), data.URI); - $("

").text(data.reason).appendTo($("p#reason")); - $("

").text(data.amount + "BTC").appendTo($("p#amount")); + $("

").text(data.memo).appendTo($("p#reason")); + $("

").text(data.amount/100000000 + "BTC").appendTo($("p#amount")); $("a").attr("href", data.URI); $("

").text("Powered by Electrum").appendTo($("p#powered")); $(function () {