1 2 3 4 5 6 7 8 9 10
//# Custom default implementations of some types. #![cfg(feature = "alloc")] use super::{TransactionEnvelope, TransactionV1Envelope}; impl Default for TransactionEnvelope { fn default() -> Self { Self::Tx(TransactionV1Envelope::default()) } }