Parcourir la source

cli: change error message on startup_wait (#1327)

Kirill Fomichev il y a 3 ans
Parent
commit
c21921af1b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      cli/src/lib.rs

+ 1 - 1
cli/src/lib.rs

@@ -2017,7 +2017,7 @@ fn start_test_validator(
     }
     if count == ms_wait {
         eprintln!(
-            "Unable to start test validator. Check {} for errors.",
+            "Unable to get recent blockhash. Test validator does not look started. Check {} for errors. Consider increasing [test.startup_wait] in Anchor.toml.",
             test_ledger_log_filename
         );
         validator_handle.kill()?;