mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-28 11:02:50 +00:00
node: new concrete type for seed node implementation (#7521)
Defines a different concrete type that satisfies the service interface for a seed node. update the seed node unit test to assert the new type. Fixes #6775
This commit is contained in:
+1
-1
@@ -556,7 +556,7 @@ func TestNodeNewSeedNode(t *testing.T) {
|
||||
t.Cleanup(ns.Wait)
|
||||
|
||||
require.NoError(t, err)
|
||||
n, ok := ns.(*nodeImpl)
|
||||
n, ok := ns.(*seedNodeImpl)
|
||||
require.True(t, ok)
|
||||
|
||||
err = n.Start(ctx)
|
||||
|
||||
Reference in New Issue
Block a user