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:
parent
fcaa3343e2
commit
c353997a89
@ -640,7 +640,7 @@ class Bitcoin:
|
|||||||
|
|
||||||
return public_key, signature
|
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
|
from ..common import bip340_sign
|
||||||
|
|
||||||
if txi.multisig:
|
if txi.multisig:
|
||||||
|
@ -124,6 +124,7 @@ class DecredSigHasher:
|
|||||||
i: int,
|
i: int,
|
||||||
tx: SignTx | PrevTx,
|
tx: SignTx | PrevTx,
|
||||||
sighash_type: SigHashType,
|
sighash_type: SigHashType,
|
||||||
|
leaf_hash: bytes | None,
|
||||||
) -> bytes:
|
) -> bytes:
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user