Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kcsongor committed Feb 22, 2024
1 parent 5e444b3 commit 59fdd27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion solana/modules/ntt-messages/src/chain_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ use anchor_lang::prelude::*;
use wormhole_io::{Readable, Writeable};

#[derive(Clone, Debug, PartialEq, Eq, Copy)]
#[cfg_attr(feature = "anchor", derive(AnchorSerialize, AnchorDeserialize, InitSpace))]
#[cfg_attr(
feature = "anchor",
derive(AnchorSerialize, AnchorDeserialize, InitSpace)
)]
pub struct ChainId {
pub id: u16,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ use example_native_token_transfers::{
sequence::Sequence,
};
use ntt_messages::{
chain_id::ChainId, endpoint::EndpointMessage, manager::ManagerMessage,
normalized_amount::NormalizedAmount, ntt::NativeTokenTransfer, endpoints::wormhole::WormholeEndpoint,
chain_id::ChainId, endpoint::EndpointMessage, endpoints::wormhole::WormholeEndpoint,
manager::ManagerMessage, normalized_amount::NormalizedAmount, ntt::NativeTokenTransfer,
};
use solana_program_test::*;
use solana_sdk::{
Expand Down

0 comments on commit 59fdd27

Please sign in to comment.