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 Jul 18, 2024
1 parent 8126acb commit 0bab920
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_err() {
pcli::warning::display();
}

Expand Down

0 comments on commit 0bab920

Please sign in to comment.