diff --git a/src/main.py b/src/main.py index 6b5ef47..344eab0 100644 --- a/src/main.py +++ b/src/main.py @@ -15,10 +15,10 @@ x================================+ ``` """) +# run this to sum sats: +# SELECT SUM(msats) / 1000 FROM "Item" WHERE ("userId" = 19494) or id = 342259; # last updated: 2024-02-11 -legend_of_snail_stacked = 119603 # from database [sats] -oracle_stacked = 17711 # from profile [sats] -prize_pool = legend_of_snail_stacked + oracle_stacked +prize_pool = 136393.86 invoices_path = "invoices.json" invoices = load_invoices(invoices_path) @@ -28,7 +28,7 @@ participants = populate_eliminated(participants) print(f"Date: {TODAY.strftime('%Y-%m-%d')}\n") print(f"Number of participants: {len(participants)}\n") -print(f"Prize Pool: `{prize_pool} sats`\n") +print(f"Prize Pool: `{round(prize_pool)} sats`\n") # add bets to prize pool for p in participants: