File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
use std:: path:: PathBuf ;
2
2
3
3
use iroh:: { protocol:: Router , Endpoint } ;
4
- use iroh_blobs:: { net_protocol :: Blobs , store:: mem:: MemStore , ticket:: BlobTicket } ;
4
+ use iroh_blobs:: { BlobsProtocol , store:: mem:: MemStore , ticket:: BlobTicket } ;
5
5
6
6
#[ tokio:: main]
7
7
async fn main ( ) -> anyhow:: Result < ( ) > {
@@ -12,7 +12,7 @@ async fn main() -> anyhow::Result<()> {
12
12
// We initialize an in-memory backing store for iroh-blobs
13
13
let store = MemStore :: new ( ) ;
14
14
// Then we initialize a struct that can accept blobs requests over iroh connections
15
- let blobs = Blobs :: new ( & store, endpoint. clone ( ) , None ) ;
15
+ let blobs = BlobsProtocol :: new ( & store, endpoint. clone ( ) , None ) ;
16
16
17
17
// Grab all passed in arguments, the first one is the binary itself, so we skip it.
18
18
let args: Vec < String > = std:: env:: args ( ) . skip ( 1 ) . collect ( ) ;
You can’t perform that action at this time.
0 commit comments