diff --git a/clients/wallet/src/stellar_wallet.rs b/clients/wallet/src/stellar_wallet.rs index 7b0f6b266..715dd63f1 100644 --- a/clients/wallet/src/stellar_wallet.rs +++ b/clients/wallet/src/stellar_wallet.rs @@ -399,7 +399,7 @@ pub fn are_memos_eq(memo1: &Vec, memo2: &Vec) -> bool { // Error handling methods for StellarWallet. #[cfg_attr(test, mockable)] impl StellarWallet { - pub async fn handle_error(&self, error: &Error) -> Result { + pub async fn handle_error(&self, error: Error) -> Result { match &error { Error::HorizonSubmissionError { title: _, status: _, reason, envelope_xdr } => match &reason[..] {