mithril_common/messages/message_parts/
cardano_transactions_set_proof.rsuse crate::entities::{HexEncodedKey, TransactionHash};
use serde::{Deserialize, Serialize};
#[cfg(target_family = "wasm")]
use wasm_bindgen::prelude::*;
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[cfg_attr(target_family = "wasm", wasm_bindgen(getter_with_clone))]
pub struct CardanoTransactionsSetProofMessagePart {
pub transactions_hashes: Vec<TransactionHash>,
pub proof: HexEncodedKey,
}
impl CardanoTransactionsSetProofMessagePart {
cfg_test_tools! {
pub fn dummy() -> Self {
crate::entities::CardanoTransactionsSetProof::dummy().try_into().unwrap()
}
}
}