1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00

fixup! feat(core): add basic Solana sign_tx call

This commit is contained in:
gabrielkerekes 2023-08-09 14:54:57 +02:00
parent 9cfe8ab7dd
commit 40834eb108

View File

@ -1,13 +1,15 @@
from typing import TYPE_CHECKING
from apps.common.keychain import auto_keychain
from apps.common.keychain import with_slip44_keychain
from . import CURVE, PATTERNS, SLIP44_ID
if TYPE_CHECKING:
from trezor.messages import SolanaSignTx, SolanaSignedTx
from apps.common.keychain import Keychain
@auto_keychain(__name__)
@with_slip44_keychain(*PATTERNS, slip44_id=SLIP44_ID, curve=CURVE)
async def sign_tx(
msg: SolanaSignTx,
keychain: Keychain,