Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Migrate ipc-sdk (#3)
Browse files Browse the repository at this point in the history
* migrate ipc-sdk

* clippy
  • Loading branch information
cryptoAtwill authored Sep 19, 2023
1 parent 6ff4d3e commit 36e11ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fvm_ipld_blockstore = { version = "0.1", optional = true }

# Using the IPC SDK without the `fil-actor` feature so as not to depend on the actor `Runtime`.
# Using the `main` branch instead of the highest available tag `v0.3.0` because the latter doesn't have a feature flag for the `Runtime`.
ipc-sdk = { git = "https://github.com/consensus-shipyard/ipc-actors.git", default-features = false, branch = "main" }
ipc-sdk = { git = "https://github.com/consensus-shipyard/ipc-agent.git", default-features = false, branch = "dev" }

[dev-dependencies]
quickcheck_macros = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/behaviour/content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ fn select_non_ephemeral(mut addr: Multiaddr) -> Multiaddr {
}
}
keep.reverse();
Multiaddr::from_iter(keep.into_iter())
Multiaddr::from_iter(keep)
}

#[cfg(test)]
Expand Down
2 changes: 1 addition & 1 deletion src/provider_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub struct SubnetProviderCache {
impl SubnetProviderCache {
pub fn new(max_subnets: usize, static_subnets: Vec<SubnetID>) -> Self {
Self {
pinned_subnets: HashSet::from_iter(static_subnets.into_iter()),
pinned_subnets: HashSet::from_iter(static_subnets),
max_subnets,
routable_peers: Default::default(),
subnet_providers: Default::default(),
Expand Down

0 comments on commit 36e11ec

Please sign in to comment.