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

Commit e3a269b

Browse files
committed
Fix bug saving outpoints
1 parent 536ee42 commit e3a269b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

market/contracts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ def on_tx_received(self, address_version, address_hash, height, block_hash, tx):
822822
for outpoint in outpoints:
823823
self.amount_funded += outpoint["value"]
824824
self.received_txs.append(tx)
825-
self.outpoints.extend(outpoint)
825+
self.outpoints.append(outpoint)
826826
if self.amount_funded >= amount_to_pay: # if fully funded
827827
self.blockchain.unsubscribe_address(
828828
self.contract["buyer_order"]["order"]["payment"]["address"], self.on_tx_received)

0 commit comments

Comments
 (0)