Name the lot price field btc_price_ore

This commit is contained in:
ai-bot committed 2026-11-14 18:01:48 +00:00
1 parent 835505e1e7
commit 350d37fe92
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ def _cost_for(cost_ore, sats, take):
def _lot_view(lot):
view = dict(lot)
sats = view.get("sats_remaining") or 0
view["nok_per_btc_ore"] = (
view["btc_price_ore"] = (
view["cost_ore_remaining"] * SATS_PER_BTC // sats if sats else 0
)
return view