fix get_new_address in merchant.py
authorthomasv <thomasv@gitorious>
Wed, 17 Apr 2013 14:45:04 +0000 (16:45 +0200)
committerthomasv <thomasv@gitorious>
Wed, 17 Apr 2013 14:45:04 +0000 (16:45 +0200)
scripts/merchant.py

index 9f01a01..eee706d 100644 (file)
@@ -113,7 +113,7 @@ def process_request(i, amount, confirmations, expires_in, password):
     if password!=my_password:
         print "wrong password ", password
         return 
-    addr = wallet.get_new_address(i, 0)
+    addr = wallet.get_new_address(0, i, 0)
     out_queue.put( ('request', (i, addr, amount, confirmations, expires_in) ))
     return addr