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<()> {
91
91
let mut builder = iroh:: node:: Node :: memory ( ) . build ( ) . await ?;
92
92
let local_pool = LocalPool :: default ( ) ;
93
93
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 ( ) ) ;
95
95
let blobs_client = blobs. client ( ) ;
96
96
97
97
// 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<()> {
38
38
let mut builder = iroh:: node:: Node :: memory ( ) . build ( ) . await ?;
39
39
let local_pool = LocalPool :: default ( ) ;
40
40
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 ( ) ) ;
42
42
let node = builder. spawn ( ) . await ?;
43
43
let blobs_client = blobs. client ( ) ;
44
44
Original file line number Diff line number Diff line change @@ -1076,7 +1076,7 @@ mod tests {
1076
1076
downloader,
1077
1077
endpoint. clone ( ) ,
1078
1078
) ) ;
1079
- router = router. accept ( crate :: protocol :: ALPN . to_vec ( ) , blobs. clone ( ) ) ;
1079
+ router = router. accept ( crate :: ALPN . to_vec ( ) , blobs. clone ( ) ) ;
1080
1080
1081
1081
// Build the router
1082
1082
let router = router. spawn ( ) . await ?;
You can’t perform that action at this time.
0 commit comments