diff --git a/Makefile b/Makefile index 975b2a896..4e549775c 100644 --- a/Makefile +++ b/Makefile @@ -76,8 +76,8 @@ endif ifeq (,$(findstring nostrip,$(ATOMONE_BUILD_OPTIONS))) ldflags += -w -s endif -ifneq ($(strip $(VOTING_PERIOD)),) - ldflags += -X github.com/atomone-hub/atomone/x/gov/types/v1.MinVotingPeriod=$(VOTING_PERIOD) +ifneq ($(strip $(MIN_VOTING_PERIOD)),) + ldflags += -X github.com/atomone-hub/atomone/x/gov/types/v1.MinVotingPeriod=$(MIN_VOTING_PERIOD) endif ldflags += $(LDFLAGS) ldflags := $(strip $(ldflags))