From 010fdda1e312bf048deb893e620c43d3a1c976bd Mon Sep 17 00:00:00 2001 From: Tomas Martykan Date: Wed, 11 Dec 2024 15:18:45 +0100 Subject: [PATCH] fixup! feat(contacts): sign receive address with --- core/src/apps/bitcoin/get_address.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/apps/bitcoin/get_address.py b/core/src/apps/bitcoin/get_address.py index cff71cf8b2..606c0da47d 100644 --- a/core/src/apps/bitcoin/get_address.py +++ b/core/src/apps/bitcoin/get_address.py @@ -66,11 +66,6 @@ async def sign_from_testnet_priv_key(address_to_sign: str) -> bytes: digest = message_digest(coin_testnet, message.encode()) signature = secp256k1.sign(seckey, digest) - # script_type == InputScriptType.SPENDWITNESS: - script_type_info = 8 - - # Add script type information to the recovery byte. - signature = bytes([signature[0] + script_type_info]) + signature[1:] return signature