fix: Add catch for bids without height as given by older hsd
All checks were successful
Build Docker / Build Image (push) Successful in 31s
All checks were successful
Build Docker / Build Image (push) Successful in 31s
This commit is contained in:
parent
9507bc17a8
commit
a1d1a6337e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user