type assertion needed

This commit is contained in:
i-norden 2021-12-29 13:44:32 -06:00
parent 0926e1f53f
commit 5203c506b0

View File

@ -58,7 +58,7 @@ func NewPGIPFSValidator(db *sqlx.DB) *Validator {
kvs: kvs, kvs: kvs,
trieDB: trie.NewDatabase(kvs), trieDB: trie.NewDatabase(kvs),
stateDatabase: state.NewDatabase(database), stateDatabase: state.NewDatabase(database),
db: database, db: database.(*pgipfsethdb.Database),
} }
} }