pub fn tx_lock_outputs(
		&mut self,
		slate: &Slate,
		lock_fn: impl FnOnce(&mut W, &Transaction) -> Result<(), Error>,
	) -> Result<(), Error> {
		let mut w = self.wallet.lock();
		w.open_with_credentials()?;
		lock_fn(&mut *w, &slate.tx)?;
		Ok(())
	}
/// Lock outputs associated with a given slate/transaction
Lock outputs associated with a given slate/transaction
Lock outputs associated with a given slate / transaction
pub fn tx_lock_outputs(
		&mut self,
		slate: &Slate,
		lock_fn: impl FnOnce(&mut W, &Transaction) -> Result<(), Error>,
	) -> Result<(), Error> {
		let mut w = self.wallet.lock();
		w.open_with_credentials()?;
		lock_fn(&mut *w, &slate.tx)?;
		Ok(())
	}
pub fn tx_lock_outputs ( & mut self , slate : & Slate , lock_fn : impl FnOnce ( & mut W , & Transaction ) -> Result < ( ) , Error > , ) -> Result < ( ) , Error > { let mut w = self . wallet . lock ( ) ; w . open_with_credentials ( ) ? ; lock_fn ( & mut * w , & slate . tx ) ? ; Ok ( ( ) ) }
Lock outputs associated with a given slate/transaction
Lock outputs associated with a given slate / transaction
&mut self
slate
&Slate
lock_fn
impl FnOnce(&mut W, &Transaction) -> Result<(), Error>