From cb700dd209356753ff90d62f90a9683e9071ea7c Mon Sep 17 00:00:00 2001 From: Michael Tsitrin Date: Mon, 7 Oct 2024 12:26:13 +0300 Subject: [PATCH] fixed seq registration --- x/sequencer/keeper/msg_server_create_sequencer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/sequencer/keeper/msg_server_create_sequencer.go b/x/sequencer/keeper/msg_server_create_sequencer.go index 4b6ae7184..8a5b853dc 100644 --- a/x/sequencer/keeper/msg_server_create_sequencer.go +++ b/x/sequencer/keeper/msg_server_create_sequencer.go @@ -54,7 +54,7 @@ func (k msgServer) CreateSequencer(goCtx context.Context, msg *types.MsgCreateSe // check pre launch time. // skipped if no pre launch time is set - if rollapp.PreLaunchTime.After(ctx.BlockTime()) { + if rollapp.PreLaunchTime != nil && rollapp.PreLaunchTime.After(ctx.BlockTime()) { return nil, types.ErrBeforePreLaunchTime }