Skip to content

Commit

Permalink
Update solana version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
z80dev committed Nov 27, 2024
1 parent a0614c3 commit 9ccc721
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bin/cli/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ pub fn init(args: InitArgs) -> Result<(), Box<dyn Error>> {
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
))
Expand Down

0 comments on commit 9ccc721

Please sign in to comment.