Skip to content

Commit e98f98b

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
andcommitted
style: fix rust formatting
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
1 parent 9a11ca9 commit e98f98b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

pythnet/pythnet_sdk/src/legacy/wormhole_attester.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ pub const P2W_FORMAT_HDR_SIZE: u16 = 1;
3636

3737
pub const PUBKEY_LEN: usize = 32;
3838

39-
40-
4139
/// Decides the format of following bytes
4240
#[repr(u8)]
4341
pub enum PayloadId {
@@ -256,8 +254,6 @@ impl BatchPriceAttestation {
256254
// On-chain data types
257255

258256
impl PriceAttestation {
259-
260-
261257
/// Serialize this attestation according to the Pyth-over-wormhole serialization format
262258
pub fn serialize(&self) -> Vec<u8> {
263259
// A nifty trick to get us yelled at if we forget to serialize a field

pythnet/pythnet_sdk/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
pub mod accumulators;
22
pub mod error;
33
pub mod hashers;
4+
pub mod legacy;
45
pub mod messages;
56
pub mod wire;
67
pub mod wormhole;
7-
pub mod legacy;
88

99
#[cfg(feature = "test-utils")]
1010
pub mod test_utils;

0 commit comments

Comments
 (0)