Skip to content

Commit fb699e5

Browse files
author
ThomasV
committed
1 parent 5f29017 commit fb699e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/merchant/merchant.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def process_request(amount, confirmations, expires_in, password):
122122
return "incorrect parameters"
123123

124124
account = wallet.default_account()
125-
addr = account.get_address(0, num)
125+
pubkeys = account.derive_pubkeys(0, num)
126+
addr = account.pubkeys_to_address(pubkeys)
126127
num += 1
127128

128129
out_queue.put( ('request', (addr, amount, confirmations, expires_in) ))

0 commit comments

Comments
 (0)