electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit d3679301132bb53496d57e137a99922a7d47d01c
parent 9bd94e5062d6214c0cb21180836517bc3cd4b354
Author: ThomasV <thomasv@gitorious>
Date:   Mon,  8 Jun 2015 13:20:42 +0200

amount is in satoshis

Diffstat:
Mlib/www/index.html | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lib/www/index.html b/lib/www/index.html @@ -3,10 +3,7 @@ <head> <title>Payment request</title> <script type="text/javascript" charset="utf-8" src="https://code.jquery.com/jquery-1.9.1.min.js"></script> - <script type="text/javascript" src="https://raw.github.com/datagraph/jquery-jsonrpc/master/jquery.jsonrpc.js"></script> <script type="text/javascript" src="https://raw.githubusercontent.com/davidshimjs/qrcodejs/master/qrcode.js"></script> - - <script type="text/javascript" src="https://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <link rel="stylesheet" type="text/css" href="https://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> @@ -33,8 +30,8 @@ if (id) { }) .done( function(data) { new QRCode(document.getElementById("qrcode"), data.URI); - $("<p />").text(data.reason).appendTo($("p#reason")); - $("<p />").text(data.amount + "BTC").appendTo($("p#amount")); + $("<p />").text(data.memo).appendTo($("p#reason")); + $("<p />").text(data.amount/100000000 + "BTC").appendTo($("p#amount")); $("a").attr("href", data.URI); $("<p />").text("Powered by Electrum").appendTo($("p#powered")); $(function () {