fix: pass tx with chain by ref

This commit is contained in:
Georgios Konstantopoulos 2022-05-02 22:35:41 +03:00
parent 5e5d17fc82
commit 25834c7f74
1 changed files with 1 additions and 1 deletions

View File

@ -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