core: adjust TestDumpAndRestore test

`with state root` test should consider StateRootInHeader set to true.
This commit is contained in:
Anna Shaleva 2022-02-25 11:47:13 +03:00
parent 870fd024c9
commit 339bec1632

View file

@ -1578,7 +1578,7 @@ func TestDumpAndRestore(t *testing.T) {
})
t.Run("with state root", func(t *testing.T) {
testDumpAndRestore(t, func(c *config.Config) {
c.ProtocolConfiguration.StateRootInHeader = false
c.ProtocolConfiguration.StateRootInHeader = true
}, nil)
})
t.Run("remove untraceable", func(t *testing.T) {