Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvja committed Oct 30, 2023
1 parent d89cb0e commit 32a67b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions solana/solana-ibc/programs/solana-ibc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ pub mod solana_ibc {
.find(|&pack| pack == &serialized_packet)
{
Some(_) => (),
None => inner_store
.packets
.0
.push(serialized_packet),
None => {
inner_store.packets.0.push(serialized_packet)
}
}
}
_ => (),
Expand Down
6 changes: 3 additions & 3 deletions solana/solana-ibc/programs/solana-ibc/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ use ibc_proto::google::protobuf::Any;
use ibc_proto::protobuf::Protobuf;

use crate::{
accounts, instruction, AnyCheck, PrivateStorage, ID,
SOLANA_IBC_STORAGE_SEED, TRIE_SEED, PACKET_SEED,
accounts, instruction, AnyCheck, PrivateStorage, ID, PACKET_SEED,
SOLANA_IBC_STORAGE_SEED, TRIE_SEED,
};

const CLIENT_CREATE_CLIENT: &str = "/ibc.core.client.v1.MsgCreateClient";
Expand Down Expand Up @@ -150,7 +150,7 @@ fn anchor_test_deliver() -> Result<()> {
storage: solana_ibc_storage,
trie,
system_program: system_program::ID,
packets
packets,
})
.args(instruction::Deliver { messages: all_messages })
.payer(authority.clone())
Expand Down

0 comments on commit 32a67b5

Please sign in to comment.