Skip to content

Commit

Permalink
chore: remove redundant else (alloy-rs#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger authored Oct 14, 2024
1 parent 517693c commit 618d96f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/eips/src/eip2718.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,8 @@ pub trait Decodable2718: Sized {
// If it's a list, we need to fallback to the legacy decoding.
if h.list {
return Self::fallback_decode(buf);
} else {
*buf = h_decode;
}
*buf = h_decode;

let remaining_len = buf.len();

Expand Down

0 comments on commit 618d96f

Please sign in to comment.