feat: Add initial mempool bids function
All checks were successful
Build Docker / Build Image (push) Successful in 55s
All checks were successful
Build Docker / Build Image (push) Successful in 55s
This commit is contained in:
@@ -320,8 +320,6 @@ def bids(bids,reveals):
|
||||
'value': value,
|
||||
'sort_value': value if revealed else lockup # Use value for sorting if revealed, otherwise lockup
|
||||
})
|
||||
print("PARSED Bids found: ", len(bid_data))
|
||||
print(json.dumps(bid_data, indent=4))
|
||||
# Sort by the sort_value in descending order (highest first)
|
||||
bid_data.sort(key=lambda x: x['sort_value'], reverse=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user