Skip to content

Commit

Permalink
chore: Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Jun 9, 2024
1 parent 9bc8910 commit f839d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wasm-example/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub async fn run() -> Result<(), JsError> {
let addrs = node_a.listening_addresses().await.unwrap();

for addr in addrs {
node_b.add_peer(peer_id, addr).await.unwrap();
node_b.add_peer((peer_id, addr)).await.unwrap();
}

node_b.connect(peer_id).await.unwrap();
Expand Down

0 comments on commit f839d1a

Please sign in to comment.