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