Skip to content

Commit

Permalink
Remove extra file
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlinton committed Oct 4, 2021
1 parent b7df324 commit 88d727e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
1 change: 1 addition & 0 deletions cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,7 @@ fn start_test_validator(
// Return the URL that a validator should be running on given the config
// and flags
fn test_validator_rpc_url(flags: Option<Vec<String>>) -> String {
let flags = flags.unwrap_or_default();
let bind_address = match flags.iter().position(|f| *f == "--bind-address") {
Some(position) => flags[position + 1].clone(),
None => "127.0.0.1".to_string(),
Expand Down
27 changes: 0 additions & 27 deletions examples/tutorial/basic-0/client.js

This file was deleted.

0 comments on commit 88d727e

Please sign in to comment.