Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Oct 20, 2024
1 parent 1190cee commit 6c1f0e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/primitives/src/signature/sig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,11 @@ impl proptest::arbitrary::Arbitrary for Signature {
#[cfg(feature = "rlp")]
impl alloy_rlp::Encodable for Signature {
fn encode(&self, out: &mut dyn alloy_rlp::BufMut) {
alloy_rlp::Header { list: true, payload_length: self.rlp_rs_len() + self.y_parity.length() }.encode(out);
alloy_rlp::Header {
list: true,
payload_length: self.rlp_rs_len() + self.y_parity.length(),
}
.encode(out);
self.write_rlp_vrs(out, self.y_parity);
}

Expand Down

0 comments on commit 6c1f0e0

Please sign in to comment.