mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
fix #1131
This commit is contained in:
parent
be5731d463
commit
42ed67e8c7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue