Skip to content

Commit

Permalink
Merge pull request #24 from z80dev/typo-fix
Browse files Browse the repository at this point in the history
Typo fix & update Solana version req
  • Loading branch information
mcintyre94 authored Dec 4, 2024
2 parents efa798e + 9ccc721 commit 404fcca
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 Anchor (>=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 404fcca

Please sign in to comment.