Skip to content

Commit

Permalink
refactor(hermes): match mapping address argument style with the rest (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Apr 23, 2024
1 parent 4b8b9bf commit 1a3e3a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/hermes/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/hermes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hermes"
version = "0.5.7"
version = "0.5.8"
description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle."
edition = "2021"

Expand Down
6 changes: 3 additions & 3 deletions apps/hermes/src/config/pythnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ pub struct Options {
#[arg(env = "PYTHNET_HTTP_ADDR")]
pub http_addr: String,

/// Pyth mapping account address.
#[arg(long = "mapping-address")]
/// Pyth mapping account address on Pythnet.
#[arg(long = "pythnet-mapping-addr")]
#[arg(default_value = DEFAULT_PYTHNET_MAPPING_ADDR)]
#[arg(env = "PYTHNET_MAPPING_ADDRESS")]
#[arg(env = "PYTHNET_MAPPING_ADDR")]
pub mapping_addr: Pubkey,
}

0 comments on commit 1a3e3a7

Please sign in to comment.