pub fn add_entry(&mut self, entry: BundleEntry<'_, '_>) {
        for i in 0..entry.signature_message_length {
            let mut trx = Transaction::default();
            trx.address = entry.address.into();
            trx.tag = entry.tag.into();
            trx.obsolete_tag = entry.tag.into();
            trx.timestamp = entry.timestamp;
            match i {
                0 => trx.value = entry.value,
                _ => trx.value = 0,
            }
            self.0.push(trx);
        }
    }
/// Adds an entry into the bundle
Adds an entry into the bundle
Adds an entry into the bundle
pub fn add_entry(&mut self, entry: BundleEntry<'_, '_>) {
        for i in 0..entry.signature_message_length {
            let mut trx = Transaction::default();
            trx.address = entry.address.into();
            trx.tag = entry.tag.into();
            trx.obsolete_tag = entry.tag.into();
            trx.timestamp = entry.timestamp;
            match i {
                0 => trx.value = entry.value,
                _ => trx.value = 0,
            }
            self.0.push(trx);
        }
    }
pub fn add_entry ( & mut self , entry : BundleEntry < ' _ , ' _ > ) { for i in 0 .. entry . signature_message_length { let mut trx = Transaction :: default ( ) ; trx . address = entry . address . into ( ) ; trx . tag = entry . tag . into ( ) ; trx . obsolete_tag = entry . tag . into ( ) ; trx . timestamp = entry . timestamp ; match i { 0 => trx . value = entry . value , _ => trx . value = 0 , } self . 0 . push ( trx ) ; } }
Adds an entry into the bundle
Adds an entry into the bundle
&mut self
entry
BundleEntry<'_, '_>