Skip to content

Commit

Permalink
removed DEFAULT_LITE_RPC_HTTP_ADDR; config to Config::default_lite_rp…
Browse files Browse the repository at this point in the history
…c_http_addr (#254)

* -D clippy

* scripts

* fmt

* commented out

* diff clippy and build

* fix

* push -> main
  • Loading branch information
aniketfuryrocks committed Jan 2, 2024
1 parent facd4a1 commit 68ee942
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion config.example.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"rpc_addr": "http://0.0.0.0:8899",
"ws_addr": "ws://0.0.0.0:8900",
"lite_rpc_http_addr": "http://0.0.0.0:8890",
"lite_rpc_http_addr": "[::]:8890",
"lite_rpc_ws_addr": "[::]:8891",
"fanout_size": 18,
"identity_keypair": null,
Expand Down
2 changes: 0 additions & 2 deletions lite-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ pub mod service_spawner;
#[from_env]
pub const DEFAULT_RPC_ADDR: &str = "http://0.0.0.0:8899";
#[from_env]
pub const DEFAULT_LITE_RPC_ADDR: &str = "http://0.0.0.0:8890";
#[from_env]
pub const DEFAULT_WS_ADDR: &str = "ws://0.0.0.0:8900";

#[from_env]
Expand Down

0 comments on commit 68ee942

Please sign in to comment.