Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/transfer.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::path::PathBuf;

use iroh::{protocol::Router, Endpoint};
use iroh_blobs::{net_protocol::Blobs, store::mem::MemStore, ticket::BlobTicket};
use iroh_blobs::{store::mem::MemStore, ticket::BlobTicket, BlobsProtocol};

#[tokio::main]
async fn main() -> anyhow::Result<()> {
Expand All @@ -12,7 +12,7 @@ async fn main() -> anyhow::Result<()> {
// We initialize an in-memory backing store for iroh-blobs
let store = MemStore::new();
// Then we initialize a struct that can accept blobs requests over iroh connections
let blobs = Blobs::new(&store, endpoint.clone(), None);
let blobs = BlobsProtocol::new(&store, endpoint.clone(), None);

// Grab all passed in arguments, the first one is the binary itself, so we skip it.
let args: Vec<String> = std::env::args().skip(1).collect();
Expand Down
Loading