Skip to content

Commit

Permalink
wasm addition
Browse files Browse the repository at this point in the history
  • Loading branch information
jscatena88 committed Jul 3, 2024
1 parent c5e4a65 commit 65827fc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/wasm/tomb_compat/wasm_mount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,15 @@ impl WasmMount {
}

let filesystem_id = FilesystemId::from(id_bytes);
let actor_vector_clock = VectorClockActor::initialize(signing_key.actor_id());

let drive = Drive::initialize_private_with_id(&mut rng, signing_key, filesystem_id)
.map_err(|e| BanyanFsError::from(e.to_string()))?;
let drive = Drive::initialize_private_with_id(
&mut rng,
signing_key,
filesystem_id,
actor_vector_clock,
)
.map_err(|e| BanyanFsError::from(e.to_string()))?;

let pubkey = wasm_client.client().platform_public_key().await?;
ensure_platform_key_present(&mut rng, &drive, pubkey).await?;
Expand Down

0 comments on commit 65827fc

Please sign in to comment.