dao: drop network from DAO

Not used any more.
This commit is contained in:
Roman Khimov 2021-03-25 22:32:16 +03:00
parent 0888cf9ed2
commit b3f9cd1541
10 changed files with 28 additions and 37 deletions

View file

@ -173,7 +173,7 @@ func TestCheckSig(t *testing.T) {
require.NoError(t, err)
verifyFunc := ECDSASecp256r1CheckSig
d := dao.NewSimple(storage.NewMemoryStore(), netmode.UnitTestNet, false)
d := dao.NewSimple(storage.NewMemoryStore(), false)
ic := &interop.Context{Network: uint32(netmode.UnitTestNet), DAO: dao.NewCached(d)}
runCase := func(t *testing.T, isErr bool, result interface{}, args ...interface{}) {
ic.SpawnVM()