From 3a840c901ada93c7cbbcfcb949a9cd7e9ee4e235 Mon Sep 17 00:00:00 2001 From: Curtis Lacy Date: Fri, 28 Mar 2014 16:41:13 +0000 Subject: [PATCH] Changed some occurances of "bids" to "offers" in msc_validate.py. --- msc_validate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/msc_validate.py b/msc_validate.py index 59f355a..05a9868 100644 --- a/msc_validate.py +++ b/msc_validate.py @@ -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'] @@ -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))