Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit b477936

Browse files
Update ethers-middleware/src/signer.rs
Co-authored-by: Matthias Seitz <[email protected]>
1 parent 4bb968c commit b477936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: ethers-middleware/src/signer.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ where
258258
let chain = Chain::try_from(chain_id.as_u64());
259259
if chain.map(Chain::is_legacy).unwrap_or_default() {
260260
if let TypedTransaction::Eip1559(inner) = tx {
261-
let i_tx: TransactionRequest = inner.clone().into();
262-
*tx = TypedTransaction::Legacy(i_tx);
261+
let tx_req: TransactionRequest = inner.clone().into();
262+
*tx = TypedTransaction::Legacy(tx_req);
263263
}
264264
}
265265
}

0 commit comments

Comments
 (0)