From 5929f9825f03c6312f7face856dbf24cb7fa5e4c Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 27 Sep 2022 20:35:11 +0200 Subject: [PATCH] chore: rm unwrap (#1744) --- ethers-core/src/types/transaction/response.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-core/src/types/transaction/response.rs b/ethers-core/src/types/transaction/response.rs index 5d834b0d..ae2be49e 100644 --- a/ethers-core/src/types/transaction/response.rs +++ b/ethers-core/src/types/transaction/response.rs @@ -349,7 +349,7 @@ impl Decodable for Transaction { // Legacy (0x00) // use the original rlp txn.decode_base_legacy(rlp, &mut offset)?; - let sig = decode_signature(rlp, &mut offset).unwrap(); + let sig = decode_signature(rlp, &mut offset)?; txn.r = sig.r; txn.s = sig.s; txn.v = sig.v.into();