chore: rm unwrap (#1744)

This commit is contained in:
Matthias Seitz 2022-09-27 20:35:11 +02:00 committed by GitHub
parent d8791482d5
commit 5929f9825f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();