electrum

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

commit 44d076fbc4552ffe7ceb2bc4f3904ebec527a27b
parent eb9802356a64743daf067c2cd9593cb7bd6eb2b1
Author: ThomasV <thomasv@gitorious>
Date:   Thu,  9 Apr 2015 19:01:22 +0200

fix #1132

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

diff --git a/scripts/merchant/merchant.py b/scripts/merchant/merchant.py @@ -134,7 +134,6 @@ def process_request(amount, confirmations, expires_in, password): def do_dump(password): if password != my_password: return "wrong password" - conn = sqlite3.connect(database); cur = conn.cursor() # read pending requests from table @@ -144,6 +143,8 @@ def do_dump(password): def getrequest(oid, password): + if password != my_password: + return "wrong password" oid = int(oid) conn = sqlite3.connect(database); cur = conn.cursor()