Skip to content

Commit 0496eea

Browse files
authored
Update encode_qr.py
1 parent 8d769c1 commit 0496eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/seedsigner/models/encode_qr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def derivation_to_keypath(path: str) -> list:
344344
return Keypath(arr, self.root.my_fingerprint, len(arr))
345345

346346
origin = derivation_to_keypath(self.derivation)
347-
self.use_info = None if self.network == "M" else CoinInfo(type=None, network=1)
347+
self.use_info = None if self.network == SettingsConstants.MAINNET else CoinInfo(type=None, network=1)
348348

349349
self.ur_hdkey = HDKey({ 'key': self.xpub.key.serialize(),
350350
'chain_code': self.xpub.chain_code,

0 commit comments

Comments
 (0)