pub fn sub_funds(&mut self, funds_to_sub: &CurrencyCollection) -> Result<bool> {
        if let Some(stuff) = self.stuff_mut() {
            stuff.storage.balance.sub(funds_to_sub)
        } else {
            Ok(false)
        }
    }
/// subtraction funds from account (for example, rollback transaction)
subtraction funds from account (for example, rollback transaction)
subtraction funds from account ( for example rollback transaction )
pub fn sub_funds(&mut self, funds_to_sub: &CurrencyCollection) -> Result<bool> {
        if let Some(stuff) = self.stuff_mut() {
            stuff.storage.balance.sub(funds_to_sub)
        } else {
            Ok(false)
        }
    }
pub fn sub_funds ( & mut self , funds_to_sub : & CurrencyCollection ) -> Result < bool > { if let Some ( stuff ) = self . stuff_mut ( ) { stuff . storage . balance . sub ( funds_to_sub ) } else { Ok ( false ) } }
subtraction funds from account (for example, rollback transaction)
subtraction funds from account ( for example rollback transaction )
&mut self
funds_to_sub
&CurrencyCollection
&mut self
funds_to_sub
&CurrencyCollection