From c6dfc8e649056fb9cda71b28e08c48f7b7e58480 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 17 Feb 2026 18:11:13 +0000 Subject: [PATCH] fix: bip21.py: add missing import urllib.parse needs to be explicitly imported for e.g. urllib.parse.urlparse to work. I think this was not erroring only because urllib.parse is imported in other modules. --- electrum/bip21.py | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum/bip21.py b/electrum/bip21.py index 254edbb4a..7004eb0b3 100644 --- a/electrum/bip21.py +++ b/electrum/bip21.py @@ -1,4 +1,5 @@ import urllib +import urllib.parse import re from decimal import Decimal from typing import Optional