pub fn new(address_book: Vec<PublicAddress>, logger: Logger) -> Self {
        Self {
            contacts: address_book
                .into_iter()
                .map(|addr| (ShortAddressHash::from(&addr), addr))
                .collect(),
            last_memo: Ok(None),
            logger,
        }
    }
/// Make a new memo handler with a given set of contacts
Make a new memo handler with a given set of contacts
Make a new memo handler with a given set of contacts
pub fn new(address_book: Vec<PublicAddress>, logger: Logger) -> Self {
        Self {
            contacts: address_book
                .into_iter()
                .map(|addr| (ShortAddressHash::from(&addr), addr))
                .collect(),
            last_memo: Ok(None),
            logger,
        }
    }
pub fn new ( address_book : Vec < PublicAddress > , logger : Logger ) -> Self { Self { contacts : address_book . into_iter ( ) . map ( | addr | ( ShortAddressHash :: from ( & addr ) , addr ) ) . collect ( ) , last_memo : Ok ( None ) , logger , } }
Make a new memo handler with a given set of contacts
Make a new memo handler with a given set of contacts
address_book
Vec<PublicAddress>
logger
Logger