From 2cf49a060ff829e5a739b5550c60a7c0a77ce0a6 Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Tue, 21 May 2024 10:06:29 +0000 Subject: [PATCH] Update libpost to 0.7.8 --- Makefile.Inc | 2 +- internal/postrs/version_check.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.Inc b/Makefile.Inc index 808f7f8be..abd53e12d 100644 --- a/Makefile.Inc +++ b/Makefile.Inc @@ -51,7 +51,7 @@ else endif # Also update 'SUPPORTED_VERSION' in internal/postrs/version_check.go -POSTRS_SETUP_REV = 0.7.5 +POSTRS_SETUP_REV = 0.7.8 POSTRS_SETUP_ZIP = libpost-$(platform)-v$(POSTRS_SETUP_REV).zip POSTRS_SETUP_URL_ZIP ?= https://github.com/spacemeshos/post-rs/releases/download/v$(POSTRS_SETUP_REV)/$(POSTRS_SETUP_ZIP) diff --git a/internal/postrs/version_check.go b/internal/postrs/version_check.go index 9192a70ca..9387ba5da 100644 --- a/internal/postrs/version_check.go +++ b/internal/postrs/version_check.go @@ -15,11 +15,11 @@ const ( // regexp matching supported versions of post-rs library SUPPORTED_VERSION = `0\.7\.(\d+)` // 0.7.* // Set this env variable to "true" or "1" to disable version check. - DISABLE_CKECK_ENV = "LIBPOST_DISABLE_VERSION_CHECK" + DISABLE_CHECK_ENV = "LIBPOST_DISABLE_VERSION_CHECK" ) func init() { - checkDisabledEnv := strings.ToLower(os.Getenv(DISABLE_CKECK_ENV)) + checkDisabledEnv := strings.ToLower(os.Getenv(DISABLE_CHECK_ENV)) if checkDisabledEnv == "true" || checkDisabledEnv == "1" { return }