electrum

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

commit 42ed67e8c7181e78c6195bd98b75318d12b1e46f
parent be5731d463235d843b9a7d2194cb2171cc38a05f
Author: ThomasV <thomasv@gitorious>
Date:   Sun,  5 Apr 2015 18:58:32 +0200

fix #1131

Diffstat:
Mscripts/merchant/merchant.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/merchant/merchant.py b/scripts/merchant/merchant.py @@ -211,7 +211,7 @@ def db_thread(): # add a new request to the table. addr, amount, confs, minutes = params sql = "INSERT INTO electrum_payments (address, amount, confirmations, received_at, expires_at, paid, processed)"\ - + " VALUES ('%s', %f, %d, datetime('now'), datetime('now', '+%d Minutes'), NULL, NULL);"%(addr, amount, confs, minutes) + + " VALUES ('%s', %.8f, %d, datetime('now'), datetime('now', '+%d Minutes'), NULL, NULL);"%(addr, amount, confs, minutes) print sql cur.execute(sql)