MF3WAHBIH6Q2F7ZOKWPEJF6VGSKJITWLR3Z64GTD6YQZNA5EATWQC
4H2XTVJ2BNXDNHQ3RQTMOG3I4NRGZT7JDLC2GRINS56TIYTYTO4QC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
pub amend: Option<String>,
#[allow(clippy::option_option)] pub amend: Option<Option<String>>,
#[allow(clippy::option_option)]
pub amend: Option<Option<String>>,
let (h, _) = txn.hash_from_prefix(amend)?;
let h = if let Some(ref hash) = amend { txn.hash_from_prefix(hash)?.0 } else if let Some((_, (h, _))) = txn.reverse_log(&channel.borrow(), None).next() { h } else { return Ok(()); };
let h = if let Some(ref hash) = amend {
txn.hash_from_prefix(hash)?.0
} else if let Some((_, (h, _))) = txn.reverse_log(&channel.borrow(), None).next() {
h
} else {
return Ok(());
};