From c1575053f53a13cd853e25277f9c2092f5ae0438 Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Tue, 23 Apr 2024 12:36:55 +0200 Subject: [PATCH] refactor(hermes): Change Pythnet mapping account env var Prefix the env var with Pythnet to be more clear. --- apps/hermes/src/config/pythnet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hermes/src/config/pythnet.rs b/apps/hermes/src/config/pythnet.rs index 5e5a0d50a5..2bfb7791a1 100644 --- a/apps/hermes/src/config/pythnet.rs +++ b/apps/hermes/src/config/pythnet.rs @@ -22,6 +22,6 @@ pub struct Options { /// Pyth mapping account address. #[arg(long = "mapping-address")] #[arg(default_value = DEFAULT_PYTHNET_MAPPING_ADDR)] - #[arg(env = "MAPPING_ADDRESS")] + #[arg(env = "PYTHNET_MAPPING_ADDRESS")] pub mapping_addr: Pubkey, }