core: adjust TestDumpAndRestore test
`with state root` test should consider StateRootInHeader set to true.
This commit is contained in:
parent
870fd024c9
commit
339bec1632
1 changed files with 1 additions and 1 deletions
|
@ -1578,7 +1578,7 @@ func TestDumpAndRestore(t *testing.T) {
|
||||||
})
|
})
|
||||||
t.Run("with state root", func(t *testing.T) {
|
t.Run("with state root", func(t *testing.T) {
|
||||||
testDumpAndRestore(t, func(c *config.Config) {
|
testDumpAndRestore(t, func(c *config.Config) {
|
||||||
c.ProtocolConfiguration.StateRootInHeader = false
|
c.ProtocolConfiguration.StateRootInHeader = true
|
||||||
}, nil)
|
}, nil)
|
||||||
})
|
})
|
||||||
t.Run("remove untraceable", func(t *testing.T) {
|
t.Run("remove untraceable", func(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue