pub fn update_secondary_address(&mut self, secondary_address: String) {
		match &mut self.role {
			Role::Buyer(address) => {
				address.replace(secondary_address);
			}
			Role::Seller(address, _) => {
				*address = secondary_address;
			}
		};
	}
/// Update secondary address. Depend on role, updates redeem or refund secondary currency address
Update secondary address. Depend on role, updates redeem or refund secondary currency address
Update secondary address . Depend on role updates redeem or refund secondary currency address
pub fn update_secondary_address(&mut self, secondary_address: String) {
		match &mut self.role {
			Role::Buyer(address) => {
				address.replace(secondary_address);
			}
			Role::Seller(address, _) => {
				*address = secondary_address;
			}
		};
	}
pub fn update_secondary_address ( & mut self , secondary_address : String ) { match & mut self . role { Role :: Buyer ( address ) => { address . replace ( secondary_address ) ; } Role :: Seller ( address , _ ) => { * address = secondary_address ; } } ; }
Update secondary address.
Update secondary address .
&mut self
secondary_address
String
&mut self
secondary_address
String