Skip to content

Commit

Permalink
test(starknet_api): remove warning on clone in transaction test (#2335)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArniStarkware authored Nov 28, 2024
1 parent 822f957 commit d11aeec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/starknet_api/src/transaction_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn convert_executable_transaction_and_back() {
}
}
};
let executable_tx: ExecutableTransaction = (tx.clone(), tx_hash.clone()).into();
let executable_tx: ExecutableTransaction = (tx.clone(), tx_hash).into();
let tx_back = Transaction::from(executable_tx);
assert_eq!(tx, tx_back);
}

0 comments on commit d11aeec

Please sign in to comment.