1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-02 04:18:20 +00:00

fix: type errors

This commit is contained in:
Andrew Toth 2024-09-16 10:09:11 -04:00
parent fcaa3343e2
commit c353997a89
No known key found for this signature in database
GPG Key ID: 60007AFC8938B018
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -124,6 +124,7 @@ class DecredSigHasher:
i: int,
tx: SignTx | PrevTx,
sighash_type: SigHashType,
leaf_hash: bytes | None,
) -> bytes:
raise NotImplementedError