From d4fc75e99491e5ca8345089b151faf2da01a91c1 Mon Sep 17 00:00:00 2001 From: Tomas Krnak Date: Thu, 17 Nov 2022 14:01:28 +0700 Subject: [PATCH] fixup! feat(core): add Zcash shielded transactions --- core/src/apps/zcash/unified.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/core/src/apps/zcash/unified.py b/core/src/apps/zcash/unified.py index b54e771438..a643ae3a8b 100644 --- a/core/src/apps/zcash/unified.py +++ b/core/src/apps/zcash/unified.py @@ -43,24 +43,6 @@ def address_receiver_length(typecode: int) -> int | None: return None -def fvk_prefix(coin: CoinInfo) -> str: - """Prefix for a unified Full Viewing Key.""" - if coin.coin_name == "Zcash": - return "uview" - if coin.coin_name == "Zcash Testnet": - return "uviewtest" - raise ValueError - - -def ivk_prefix(coin: CoinInfo) -> str: - """Prefix for a unified Incoming Viewing Key.""" - if coin.coin_name == "Zcash": - return "uivk" - if coin.coin_name == "Zcash Testnet": - return "uivktest" - raise ValueError - - def padded(hrp: str) -> bytes: assert len(hrp) <= 16 return hrp.encode() + bytes(16 - len(hrp))