Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvja committed Nov 24, 2023
1 parent a6ec6db commit 84b7c22
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions solana/solana-ibc/programs/solana-ibc/src/storage/ids.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use anchor_lang::prelude::borsh;
use ::ibc::core::ics24_host::identifier::ChannelId;
use anchor_lang::prelude::borsh;

use super::ibc;

Expand Down Expand Up @@ -158,9 +158,7 @@ impl PortChannelPK {
ChannelId::new(self.channel_idx.into())
}

pub fn port_id(&self) -> ibc::PortId {
self.port_id.clone()
}
pub fn port_id(&self) -> ibc::PortId { self.port_id.clone() }
}

pub trait MaybeOwned<T> {
Expand Down

0 comments on commit 84b7c22

Please sign in to comment.