diff --git a/core/src/apps/bitcoin/sign_tx/bitcoin.py b/core/src/apps/bitcoin/sign_tx/bitcoin.py index 7ce448066c..501cdef855 100644 --- a/core/src/apps/bitcoin/sign_tx/bitcoin.py +++ b/core/src/apps/bitcoin/sign_tx/bitcoin.py @@ -640,7 +640,7 @@ class Bitcoin: return public_key, signature - def sign_taproot_input(self, i: int, txi: TxInput) -> bytes: + def sign_taproot_input(self, i: int, txi: TxInput) -> tuple[bytes, bytes]: from ..common import bip340_sign if txi.multisig: diff --git a/core/src/apps/bitcoin/sign_tx/decred.py b/core/src/apps/bitcoin/sign_tx/decred.py index 39b99380ab..5d4a4f44f6 100644 --- a/core/src/apps/bitcoin/sign_tx/decred.py +++ b/core/src/apps/bitcoin/sign_tx/decred.py @@ -124,6 +124,7 @@ class DecredSigHasher: i: int, tx: SignTx | PrevTx, sighash_type: SigHashType, + leaf_hash: bytes | None, ) -> bytes: raise NotImplementedError