Skip to content

Commit

Permalink
pcli: disable warning post-mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
hdevalence committed Sep 19, 2024
1 parent 8126acb commit 569c26d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bin/pcli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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_ok() {
pcli::warning::display();
}

Expand Down

0 comments on commit 569c26d

Please sign in to comment.