Skip to content

Commit

Permalink
[integration] rm redundant clone (#3144)
Browse files Browse the repository at this point in the history
[integration] rm redundant clone
  • Loading branch information
nkysg authored Jan 1, 2025
1 parent b8c17db commit 7a67f76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/rooch-types/src/transaction/rooch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ impl RoochTransaction {
} else {
let hash = self.data.tx_hash();
self.data_hash = Some(hash);
self.data_hash.unwrap()
hash
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/testsuite/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ fn bitcoincli_run_cmd(w: &mut World, input_tpl: String) {
bitcoincli_args.extend(args.iter().map(|&s| s.to_string()));

let joined_args = bitcoincli_args.join(" ");
debug!("run cmd: {}", joined_args.clone());
debug!("run cmd: {}", joined_args);

let exec_cmd = ExecCommand {
cmd: joined_args.clone(),
Expand Down

0 comments on commit 7a67f76

Please sign in to comment.