From 0bab9207999caebcb7c6718a122acadc25780abc Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Thu, 18 Jul 2024 14:14:33 -0400 Subject: [PATCH] pcli: disable warning post-mainnet --- crates/bin/pcli/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bin/pcli/src/main.rs b/crates/bin/pcli/src/main.rs index b308769aac..d9b70d5aec 100644 --- a/crates/bin/pcli/src/main.rs +++ b/crates/bin/pcli/src/main.rs @@ -10,8 +10,8 @@ use pcli::{command::*, opt::Opt}; #[tokio::main] async fn main() -> Result<()> { - // Display a warning message to the user so they don't get upset when all their tokens are lost. - if std::env::var("PCLI_UNLEASH_DANGER").is_err() { + // Preserved for posterity and memory + if std::env::var("PCLI_DISPLAY_WARNING").is_err() { pcli::warning::display(); }