We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75153a1 commit 3da9930Copy full SHA for 3da9930
README.md
@@ -47,7 +47,7 @@ async fn main() -> anyhow::Result<()> {
47
let tag = store.add_slice(b"Hello world").await?;
48
49
let _ = endpoint.online().await;
50
- let addr = endpoint.node_addr();
+ let addr = endpoint.addr();
51
let ticket = BlobTicket::new(addr, tag.hash, tag.format);
52
53
// build the router
src/net_protocol.rs
@@ -18,7 +18,7 @@
18
//! // create an iroh endpoint
19
//! let endpoint = Endpoint::bind().await?;
20
//! endpoint.online().await;
21
-//! let addr = endpoint.node_addr();
+//! let addr = endpoint.addr();
22
//!
23
//! // create a blobs protocol handler
24
//! let blobs = BlobsProtocol::new(&store, None);
0 commit comments