File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ async fn main() -> Result<()> {
9191 let mut builder = iroh:: node:: Node :: memory ( ) . build ( ) . await ?;
9292 let local_pool = LocalPool :: default ( ) ;
9393 let blobs = Blobs :: memory ( ) . build ( local_pool. handle ( ) , builder. endpoint ( ) ) ;
94- builder = builder. accept ( iroh_blobs:: protocol :: ALPN . to_vec ( ) , blobs. clone ( ) ) ;
94+ builder = builder. accept ( iroh_blobs:: ALPN . to_vec ( ) , blobs. clone ( ) ) ;
9595 let blobs_client = blobs. client ( ) ;
9696
9797 // Build our custom protocol handler. The `builder` exposes access to various subsystems in the
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ async fn main() -> Result<()> {
3838 let mut builder = iroh:: node:: Node :: memory ( ) . build ( ) . await ?;
3939 let local_pool = LocalPool :: default ( ) ;
4040 let blobs = Blobs :: memory ( ) . build ( local_pool. handle ( ) , builder. endpoint ( ) ) ;
41- builder = builder. accept ( iroh_blobs:: protocol :: ALPN . to_vec ( ) , blobs. clone ( ) ) ;
41+ builder = builder. accept ( iroh_blobs:: ALPN . to_vec ( ) , blobs. clone ( ) ) ;
4242 let node = builder. spawn ( ) . await ?;
4343 let blobs_client = blobs. client ( ) ;
4444
Original file line number Diff line number Diff line change @@ -1076,7 +1076,7 @@ mod tests {
10761076 downloader,
10771077 endpoint. clone ( ) ,
10781078 ) ) ;
1079- router = router. accept ( crate :: protocol :: ALPN . to_vec ( ) , blobs. clone ( ) ) ;
1079+ router = router. accept ( crate :: ALPN . to_vec ( ) , blobs. clone ( ) ) ;
10801080
10811081 // Build the router
10821082 let router = router. spawn ( ) . await ?;
You can’t perform that action at this time.
0 commit comments