Skip to content

Commit

Permalink
fix error when selecting liquidtestnet in networks
Browse files Browse the repository at this point in the history
  • Loading branch information
stepansnigirev committed Nov 16, 2022
1 parent 2e197b0 commit 4f6ed13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/wallets/liquid/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class LWalletManager(WalletManager):
B64PSBT_PREFIX = b"cHNl"
WalletClass = LWallet
# supported networks
Networks = {"liquidv1": NETWORKS["liquidv1"], "elementsregtest": NETWORKS["elementsregtest"]}
Networks = {k: v for k, v in NETWORKS.items() if v.get("blech32")}
DEFAULT_SIGHASH = (SIGHASH.ALL | SIGHASH.RANGEPROOF)


Expand Down
1 change: 1 addition & 0 deletions src/gui/screens/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Screen(lv.obj):
"signet": lv.color_hex(0xBD10E0),
"liquidv1": lv.color_hex(0x46B4A5),
"elementsregtest": lv.color_hex(0x00CAF1),
"liquidtestnet": lv.color_hex(0xC0F100),
}
mbox = None
def __init__(self):
Expand Down

0 comments on commit 4f6ed13

Please sign in to comment.