Skip to content

Commit

Permalink
Update encode_qr.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebuyito authored Dec 24, 2024
1 parent 8d769c1 commit 0496eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seedsigner/models/encode_qr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0496eea

Please sign in to comment.