mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
fix(rust/trezor-client): fix Solana messages
This commit is contained in:
parent
8d617f876a
commit
20400bc7b9
@ -25,6 +25,7 @@ FEATURES = {
|
|||||||
"Monero": "monero",
|
"Monero": "monero",
|
||||||
"NEM": "nem",
|
"NEM": "nem",
|
||||||
"Ripple": "ripple",
|
"Ripple": "ripple",
|
||||||
|
"Solana": "solana",
|
||||||
"Stellar": "stellar",
|
"Stellar": "stellar",
|
||||||
"Tezos": "tezos",
|
"Tezos": "tezos",
|
||||||
"WebAuthn": "webauthn",
|
"WebAuthn": "webauthn",
|
||||||
|
16
rust/trezor-client/src/messages/generated.rs
generated
16
rust/trezor-client/src/messages/generated.rs
generated
@ -79,12 +79,6 @@ trezor_message_impl! {
|
|||||||
DebugLinkEraseSdCard => MessageType_DebugLinkEraseSdCard,
|
DebugLinkEraseSdCard => MessageType_DebugLinkEraseSdCard,
|
||||||
DebugLinkWatchLayout => MessageType_DebugLinkWatchLayout,
|
DebugLinkWatchLayout => MessageType_DebugLinkWatchLayout,
|
||||||
DebugLinkResetDebugEvents => MessageType_DebugLinkResetDebugEvents,
|
DebugLinkResetDebugEvents => MessageType_DebugLinkResetDebugEvents,
|
||||||
SolanaGetPublicKey => MessageType_SolanaGetPublicKey,
|
|
||||||
SolanaPublicKey => MessageType_SolanaPublicKey,
|
|
||||||
SolanaGetAddress => MessageType_SolanaGetAddress,
|
|
||||||
SolanaAddress => MessageType_SolanaAddress,
|
|
||||||
SolanaSignTx => MessageType_SolanaSignTx,
|
|
||||||
SolanaTxSignature => MessageType_SolanaTxSignature,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "binance")]
|
#[cfg(feature = "binance")]
|
||||||
@ -244,6 +238,16 @@ trezor_message_impl! {
|
|||||||
RippleSignedTx => MessageType_RippleSignedTx,
|
RippleSignedTx => MessageType_RippleSignedTx,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "solana")]
|
||||||
|
trezor_message_impl! {
|
||||||
|
SolanaGetPublicKey => MessageType_SolanaGetPublicKey,
|
||||||
|
SolanaPublicKey => MessageType_SolanaPublicKey,
|
||||||
|
SolanaGetAddress => MessageType_SolanaGetAddress,
|
||||||
|
SolanaAddress => MessageType_SolanaAddress,
|
||||||
|
SolanaSignTx => MessageType_SolanaSignTx,
|
||||||
|
SolanaTxSignature => MessageType_SolanaTxSignature,
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(feature = "stellar")]
|
#[cfg(feature = "stellar")]
|
||||||
trezor_message_impl! {
|
trezor_message_impl! {
|
||||||
StellarSignTx => MessageType_StellarSignTx,
|
StellarSignTx => MessageType_StellarSignTx,
|
||||||
|
@ -32,6 +32,7 @@ mod generated {
|
|||||||
"monero" => messages_monero
|
"monero" => messages_monero
|
||||||
"nem" => messages_nem
|
"nem" => messages_nem
|
||||||
"ripple" => messages_ripple
|
"ripple" => messages_ripple
|
||||||
|
"solana" => messages_solana
|
||||||
"stellar" => messages_stellar
|
"stellar" => messages_stellar
|
||||||
"tezos" => messages_tezos
|
"tezos" => messages_tezos
|
||||||
"webauthn" => messages_webauthn
|
"webauthn" => messages_webauthn
|
||||||
|
Loading…
Reference in New Issue
Block a user