Skip to content

Commit ab11f08

Browse files
mycognosistadzialocha
authored andcommitted
Configure endpoint network id from args
1 parent 0ec0476 commit ab11f08

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ async fn main() -> Result<()> {
6363
let endpoint = Endpoint::builder(address_book.clone())
6464
.private_key(private_key.clone())
6565
.relay_url(args.relay_url.parse().unwrap())
66+
.network_id(network_id.into())
6667
.spawn()
6768
.await?;
6869

0 commit comments

Comments
 (0)