Skip to content

Commit

Permalink
fix: pass tx with chain by ref
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed May 2, 2022
1 parent 5e5d17f commit 25834c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-signers/src/ledger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Signer for LedgerEthereum {
// in the case we don't have a chain_id, let's use the signer chain id instead
tx_with_chain.set_chain_id(self.chain_id);
}
self.sign_tx(tx_with_chain).await
self.sign_tx(&tx_with_chain).await
}

/// Signs a EIP712 derived struct
Expand Down

0 comments on commit 25834c7

Please sign in to comment.