Skip to content

Commit

Permalink
parse reason - clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
BiancaIalangi committed Oct 18, 2024
1 parent d2939ae commit fde6c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/core/src/retrieve_tx_on_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub fn parse_reason(reason: &str) -> (ReturnCode, String) {
match code {
Some(return_code) => {
if message.is_empty() {
message = ReturnCode::message(return_code).to_owned();
ReturnCode::message(return_code).clone_into(&mut message);
}

(return_code, base64_encode(message))
Expand Down

0 comments on commit fde6c00

Please sign in to comment.