Skip to content

Commit

Permalink
fix: drs flag parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Dec 11, 2024
1 parent a15edf0 commit 75f2507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/rollapp/bechprefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func ExtractDrsVersionFromBinary() (string, error) {
}

lines := strings.Split(out.String(), "\n")
pattern := `github\.com/dymensionxyz/dymint/version\.DRS=$(\w+)`
pattern := `github\.com/dymensionxyz/dymint/version\.DRS=(?:"?(\d+)"?)`

re := regexp.MustCompile(pattern)
var ldflags string
Expand Down

0 comments on commit 75f2507

Please sign in to comment.