You are viewing a single comment's thread:
Sorry about that - I've updated the script to support gold cards and fix this bug you encountered. Just include "gold": True in the bid after updating.
e.g.
{ "card_detail_id": 439, "amount": 2, "bid_usd": "6.00", "edition": 7, "gold": True }
Edit: code
Sorry I am python noob and not very good at debugging it. I updated to the latest version but I get the following error while trying a dry run (nice option). I suspect card_detail_id and edition are both integers while gold is a string this is a problem. Also I had to tweak the bid json to "gold":"True" (quotes around True)
Traceback (most recent call last):
File "/home/ubuntu/splinterlands/beem/NFTCardShop.py", line 93, in
if(not buy_first(bids, args.owner, args.dry)):
File "/home/ubuntu/splinterlands/beem/NFTCardShop.py", line 77, in buy_first
for sale in get_sorted_sales(bid["card_detail_id"], bid["edition"], bid["gold"]):
TypeError: string indices must be integers
ps - doominion-spy ran out of RC and couldnt post so I had to switch accounts
View more