fix: Add catch for bids without height as given by older hsd
All checks were successful
Build Docker / Build Image (push) Successful in 31s

This commit is contained in:
Nathan Woodburn 2025-01-31 17:21:42 +11:00
parent 9507bc17a8
commit a1d1a6337e
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -571,6 +571,10 @@ def getBids(account, domain="NONE"):
for bid in response:
if 'value' not in bid:
bid['value'] = -1000000
# Backup for older HSD versions
if 'height' not in bid:
bid['height'] = 0
bids.append(bid)
return bids