mirror of
https://github.com/jaxperro/winning-wallet-finder.git
synced 2026-07-28 00:07:47 +00:00
live env credentials: strip pasted whitespace; bankroll = actual $24.73 deposit
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -1365,8 +1365,8 @@ def load_cfg(path):
|
||||
for env, key in (("LIVE_PRIVATE_KEY", "private_key"),
|
||||
("LIVE_FUNDER_ADDRESS", "funder_address"),
|
||||
("LIVE_SIGNATURE_TYPE", "signature_type")):
|
||||
v = os.environ.get(env)
|
||||
if v:
|
||||
v = (os.environ.get(env) or "").strip() # secrets often arrive with a
|
||||
if v: # trailing newline from paste
|
||||
cfg["live"][key] = int(v) if key == "signature_type" else v
|
||||
cfg["follow"] = {**FOLLOW_DEFAULT, **cfg.get("follow", {})}
|
||||
normalize_follow_config(cfg)
|
||||
|
||||
Reference in New Issue
Block a user