diff --git a/scripts/merchant.py b/scripts/merchant.py index 9f01a01e6..eee706d8b 100644 --- a/scripts/merchant.py +++ b/scripts/merchant.py @@ -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