Browse Source

fix rebase conflict

pull/8068/head
jay tseng 3 years ago
parent
commit
d1560d16e8
No known key found for this signature in database GPG Key ID: 5A9D3063305E6427
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      node/node.go
  2. +2
    -1
      node/node_test.go

+ 1
- 1
node/node.go View File

@ -165,7 +165,7 @@ func makeNode(
} }
// Check app version is matched with the genesis file. // Check app version is matched with the genesis file.
appInfo, err := proxyApp.Query().Info(ctx, abci.RequestInfo{Version: ""})
appInfo, err := proxyApp.Info(ctx, abci.RequestInfo{Version: ""})
if err != nil { if err != nil {
return nil, fmt.Errorf("error query app info: %w", err) return nil, fmt.Errorf("error query app info: %w", err)
} }


+ 2
- 1
node/node_test.go View File

@ -773,7 +773,8 @@ func TestNodeAppVersionNotMatched(t *testing.T) {
logger := log.NewNopLogger() logger := log.NewNopLogger()
appClient, _ := proxy.DefaultClientCreator(logger, cfg.ProxyApp, cfg.ABCI, cfg.DBDir())
appClient, _, err := proxy.ClientFactory(logger, cfg.ProxyApp, cfg.ABCI, cfg.DBDir())
require.NoError(t, err)
genesisDoc, err := types.GenesisDocFromFile(cfg.GenesisFile()) genesisDoc, err := types.GenesisDocFromFile(cfg.GenesisFile())
require.NoError(t, err) require.NoError(t, err)


Loading…
Cancel
Save