tfix #1131 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 42ed67e8c7181e78c6195bd98b75318d12b1e46f DIR parent be5731d463235d843b9a7d2194cb2171cc38a05f HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 5 Apr 2015 18:58:32 +0200 fix #1131 Diffstat: M scripts/merchant/merchant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/scripts/merchant/merchant.py b/scripts/merchant/merchant.py t@@ -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)