From 0496eeadba35309e59115068be85737d32227dd0 Mon Sep 17 00:00:00 2001 From: fedebuyito <126606287+fedebuyito@users.noreply.github.com> Date: Tue, 24 Dec 2024 02:50:18 +0000 Subject: [PATCH] Update encode_qr.py --- src/seedsigner/models/encode_qr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seedsigner/models/encode_qr.py b/src/seedsigner/models/encode_qr.py index 1b759ce5..c66e8567 100644 --- a/src/seedsigner/models/encode_qr.py +++ b/src/seedsigner/models/encode_qr.py @@ -344,7 +344,7 @@ def derivation_to_keypath(path: str) -> list: return Keypath(arr, self.root.my_fingerprint, len(arr)) origin = derivation_to_keypath(self.derivation) - self.use_info = None if self.network == "M" else CoinInfo(type=None, network=1) + self.use_info = None if self.network == SettingsConstants.MAINNET else CoinInfo(type=None, network=1) self.ur_hdkey = HDKey({ 'key': self.xpub.key.serialize(), 'chain_code': self.xpub.chain_code,