Skip to content

Commit

Permalink
Fix default configuration for http_server_port
Browse files Browse the repository at this point in the history
  • Loading branch information
aterentic-ethernal committed Jun 13, 2024
1 parent ebbf95e commit c7fb2f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.9.2

- Fix default configuration for http_server_port

## [1.9.1](https://github.com/availproject/avail-light/releases/tag/v1.9.1) - 2024-06-10

- Add `hex` network support to the `--network` CLI parameter
Expand Down
4 changes: 2 additions & 2 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ pub struct FibonacciConfig {
pub struct RuntimeConfig {
/// Light client HTTP server host name (default: 127.0.0.1).
pub http_server_host: String,
/// Light client HTTP server port (default: 7000).
/// Light client HTTP server port (default: 7007).
pub http_server_port: u16,
/// Secret key for libp2p keypair. Can be either set to `seed` or to `key`.
/// If set to seed, keypair will be generated from that seed.
Expand Down Expand Up @@ -846,7 +846,7 @@ impl Default for RuntimeConfig {
fn default() -> Self {
RuntimeConfig {
http_server_host: "127.0.0.1".to_owned(),
http_server_port: 7000,
http_server_port: 7007,
port: 37000,
ws_transport_enable: false,
secret_key: None,
Expand Down

0 comments on commit c7fb2f7

Please sign in to comment.