Skip to content

Commit

Permalink
Update crates/rpc/rpc-eth-api/src/helpers/transaction.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
  • Loading branch information
jenpaff and mattsse authored Sep 23, 2024
1 parent 5a2d892 commit b188cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc/rpc-eth-api/src/helpers/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ pub trait EthTransactions: LoadTransaction {
let signers: Vec<_> = self.signers().read().iter().cloned().collect();
for signer in signers {
if signer.is_signer_for(from) {
return match signer.sign_transaction(txn.clone(), from).await {
return match signer.sign_transaction(txn, from).await {
Ok(tx) => Ok(tx),
Err(e) => Err(e.into_eth_err()),
}
Expand Down

0 comments on commit b188cea

Please sign in to comment.