Skip to content

Commit

Permalink
Fixed dispenser opening on empty addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
chiguireitor committed Jan 10, 2021
1 parent 5248d35 commit fe8c2c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion counterpartylib/lib/messages/dispenser.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def parse (db, tx, message):
'give_quantity': give_quantity,
'escrow_quantity': escrow_quantity,
'satoshirate': mainchainrate,
'status': dispenser_status,
'status': STATUS_OPEN,
'give_remaining': escrow_quantity
}
sql = 'insert into dispensers values(:tx_index, :tx_hash, :block_index, :source, :asset, :give_quantity, :escrow_quantity, :satoshirate, :status, :give_remaining)'
Expand Down

0 comments on commit fe8c2c3

Please sign in to comment.