From 2f35598893977a38c997c275c0ff41c958b263f9 Mon Sep 17 00:00:00 2001 From: jay tseng Date: Fri, 4 Mar 2022 15:48:58 -0500 Subject: [PATCH] wording --- node/node_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/node_test.go b/node/node_test.go index 0fd5bd4c9..17cfc784b 100644 --- a/node/node_test.go +++ b/node/node_test.go @@ -756,6 +756,7 @@ func loadStatefromGenesis(ctx context.Context, t *testing.T) sm.State { } func TestNodeAppVersionNotMatched(t *testing.T) { + // Construct the node params cfg, err := config.ResetTestRoot(t.TempDir(), "node_node_test") require.NoError(t, err) @@ -764,7 +765,6 @@ func TestNodeAppVersionNotMatched(t *testing.T) { ctx, bcancel := context.WithCancel(context.Background()) defer bcancel() - // Construct the node params nodeKey, err := types.LoadOrGenNodeKey(cfg.NodeKeyFile()) require.NoError(t, err) @@ -783,7 +783,7 @@ func TestNodeAppVersionNotMatched(t *testing.T) { return genesisDoc, nil } - // Create node + // Create node, expecting an error _, err = makeNode( ctx, cfg,