Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions msc_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1247,8 +1247,8 @@ def check_mastercoin_transaction(t, index=-1):

# invalidate accept for addresses that already have a running accept from that address
try:
bids_hash_list=bids_dict[sell_offer_tx['tx_hash']]
for b_hash in bids_hash_list:
offers_hash_list=offers_dict[sell_offer_tx['tx_hash']]
for b_hash in offers_hash_list:
b = tx_dict[b_hash][-1]
try:
payment_expired=b['payment_expired']
Expand All @@ -1265,7 +1265,7 @@ def check_mastercoin_transaction(t, index=-1):
return False
debug('no bids from '+t['from_address']+' on sell offer yet')
except KeyError:
debug('no bids yet on sell offer yet')
debug('no bids on sell offer yet')

# amount accepted is min between requested and offer
amount_accepted=min(float(accept_amount_requested),float(amount_available))
Expand Down