Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 08f6e16

Browse files
committed
Fix bug checking contracts for payment
1 parent 735db24 commit 08f6e16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

market/contracts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,6 +1395,7 @@ def history_fetched(ec, history):
13951395
# get the amount (in satoshi) the user is expected to pay
13961396
amount_to_pay = int(float(c.contract["buyer_order"]["order"]["payment"]["amount"]) * 100000000)
13971397
if amount_funded >= amount_to_pay:
1398+
c.outpoints = outpoints
13981399
c.payment_received()
13991400

14001401
libbitcoin_client.fetch_history2(addr, history_fetched)

0 commit comments

Comments
 (0)