Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Sep 13, 2024
1 parent 8df5b68 commit 2adbab1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions lib/ain-cpp-imports/src/bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ pub mod ffi {

#[derive(Debug, Clone)]
pub struct PoolPairCreationHeight {
pub id: u32,
pub id_token_a: u32,
pub id_token_b: u32,
pub creation_height: u32,
pub id: u32,
pub id_token_a: u32,
pub id_token_b: u32,
pub creation_height: u32,
}

#[derive(Debug, Clone)]
Expand Down
10 changes: 5 additions & 5 deletions lib/ain-cpp-imports/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ mod ffi {
}

pub struct PoolPairCreationHeight {
pub id: u32,
pub id_token_a: u32,
pub id_token_b: u32,
pub creation_height: u32,
pub id: u32,
pub id_token_a: u32,
pub id_token_b: u32,
pub creation_height: u32,
}

pub struct DST20Token {
Expand Down Expand Up @@ -186,10 +186,10 @@ mod ffi {
}

pub use ffi::Attributes;
pub use ffi::PoolPairCreationHeight;
pub use ffi::SystemTxData;
pub use ffi::SystemTxType;
pub use ffi::TokenAmount;
pub use ffi::PoolPairCreationHeight;

/// Returns the chain ID of the current network.
pub fn get_chain_id() -> Result<u64, Box<dyn Error>> {
Expand Down

0 comments on commit 2adbab1

Please sign in to comment.