fix: pass tx with chain by ref
This commit is contained in:
parent
5e5d17fc82
commit
25834c7f74
|
@ -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
|
// 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);
|
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
|
/// Signs a EIP712 derived struct
|
||||||
|
|
Loading…
Reference in New Issue