Address code review feedback: BOLT11 regex, error messages, PORT env var, gofmt, test helpers

- nwc_hub_manager.py: Fix BOLT11 regex to accept only valid prefixes (bc/tb/bcrt/tbs); add path to timeout error message; add early-exit to _get_app_pending_txs pagination
- nwc_lnurl_service.py: Allow NWC_LNURL_PORT env var override for port
- nwc-wallets.nix: Remove || true from gofmt so build fails on syntax errors
- test_wallet_connections.py: Extract _call_body() helper; use c.args[] access
This commit is contained in:
copilot-swe-agent[bot]
2026-07-27 03:21:40 +00:00
committed by GitHub
parent 5ebd51e5f9
commit 0e13779773
4 changed files with 44 additions and 16 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ let
# Run gofmt on modified Go sources after patching
postPatch = ''
gofmt -w lnclient/lnd/lnd.go api/models.go api/transactions.go \
http/http_service.go wails/wails_handlers.go 2>/dev/null || true
http/http_service.go wails/wails_handlers.go
'';
meta = {