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",
|
||||
"NEM": "nem",
|
||||
"Ripple": "ripple",
|
||||
"Solana": "solana",
|
||||
"Stellar": "stellar",
|
||||
"Tezos": "tezos",
|
||||
"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,
|
||||
DebugLinkWatchLayout => MessageType_DebugLinkWatchLayout,
|
||||
DebugLinkResetDebugEvents => MessageType_DebugLinkResetDebugEvents,
|
||||
SolanaGetPublicKey => MessageType_SolanaGetPublicKey,
|
||||
SolanaPublicKey => MessageType_SolanaPublicKey,
|
||||
SolanaGetAddress => MessageType_SolanaGetAddress,
|
||||
SolanaAddress => MessageType_SolanaAddress,
|
||||
SolanaSignTx => MessageType_SolanaSignTx,
|
||||
SolanaTxSignature => MessageType_SolanaTxSignature,
|
||||
}
|
||||
|
||||
#[cfg(feature = "binance")]
|
||||
@ -244,6 +238,16 @@ trezor_message_impl! {
|
||||
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")]
|
||||
trezor_message_impl! {
|
||||
StellarSignTx => MessageType_StellarSignTx,
|
||||
|
@ -32,6 +32,7 @@ mod generated {
|
||||
"monero" => messages_monero
|
||||
"nem" => messages_nem
|
||||
"ripple" => messages_ripple
|
||||
"solana" => messages_solana
|
||||
"stellar" => messages_stellar
|
||||
"tezos" => messages_tezos
|
||||
"webauthn" => messages_webauthn
|
||||
|
Loading…
Reference in New Issue
Block a user