pub fn swap_start(
		&self,
		keychain_mask: Option<&SecretKey>,
		params: &SwapStartArgs,
	) -> Result<String, Error> {
		// Updating wallet state first because we need to select outputs.
		owner::update_wallet_state(self.wallet_inst.clone(), keychain_mask, &None)?;
		owner_swap::swap_start(self.wallet_inst.clone(), keychain_mask, params)
	}
/// Start swap trade process. Return SwapID that can be used to check the status or perform further action.
Start swap trade process. Return SwapID that can be used to check the status or perform further action.
Start swap trade process . Return SwapID that can be used to check the status or perform further action .
pub fn swap_start(
		&self,
		keychain_mask: Option<&SecretKey>,
		params: &SwapStartArgs,
	) -> Result<String, Error> {
		// Updating wallet state first because we need to select outputs.
		owner::update_wallet_state(self.wallet_inst.clone(), keychain_mask, &None)?;
		owner_swap::swap_start(self.wallet_inst.clone(), keychain_mask, params)
	}
pub fn swap_start ( & self , keychain_mask : Option < & SecretKey > , params : & SwapStartArgs , ) -> Result < String , Error > { // Updating wallet state first because we need to select outputs. owner :: update_wallet_state ( self . wallet_inst . clone ( ) , keychain_mask , & None ) ? ; owner_swap :: swap_start ( self . wallet_inst . clone ( ) , keychain_mask , params ) }
Start swap trade process.
Start swap trade process .
&self
keychain_mask
Option<&SecretKey>
params
&SwapStartArgs
&self
keychain_mask
Option<&SecretKey>
params
&SwapStartArgs