Skip to content

Commit

Permalink
wasm !send
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Jan 17, 2024
1 parent 3576b4a commit 28fbac1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ic-utils/src/interfaces/management_canister/builders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use crate::{
use async_trait::async_trait;
use candid::utils::ArgumentEncoder;
use candid::{CandidType, Deserialize, Nat};
use futures_util::future::BoxFuture;
use futures_util::{
future::ready,
stream::{self, FuturesUnordered},
Expand Down Expand Up @@ -750,7 +749,7 @@ impl<'agent: 'canister, 'canister: 'builder, 'builder> InstallBuilder<'agent, 'c
to_upload_chunks.iter()
.filter_map(|(hash, value)| (!existing_chunks.contains(hash)).then_some((*hash, *value)))
.collect(),
Box::pin(ready(Ok(()))) as BoxFuture<'_, _>,
Box::pin(ready(Ok(()))) as _,
)
} else {
(to_upload_chunks.clone(), self.canister.clear_chunk_store(&self.canister_id).call_and_wait())
Expand Down

0 comments on commit 28fbac1

Please sign in to comment.