From 9ccc7211d6da349452bdcf43b611eb0e665e8977 Mon Sep 17 00:00:00 2001 From: z80 Date: Wed, 27 Nov 2024 12:08:49 -0500 Subject: [PATCH] Update solana version requirement --- src/bin/cli/init.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/cli/init.rs b/src/bin/cli/init.rs index 9714d2b..e6b66fe 100644 --- a/src/bin/cli/init.rs +++ b/src/bin/cli/init.rs @@ -123,11 +123,11 @@ pub fn init(args: InitArgs) -> Result<(), Box> { if let Ok(version) = solana { let (major, minor, patch) = semver(r"solana-cli (\S+)", &version); - if (major, minor) < (1, 9) { + if (major, minor) < (2, 0) { return Err(error_message(format!( concat!( - "Solana (>=1.9.0) not found\n\n", - "Seahorse depends on Solana (>=1.9.0), found: {}.{}.{}" + "Solana (>=2.0.0) not found\n\n", + "Seahorse depends on Solana (>=2.0.0), found: {}.{}.{}" ), major, minor, patch ))