type assertion needed
This commit is contained in:
1 parent
0926e1f53f
commit
5203c506b0
1 file changed
+1
-1
+1
-1
@@ -58,7 +58,7 @@ func NewPGIPFSValidator(db *sqlx.DB) *Validator {
|
||||
kvs: kvs,
|
||||
trieDB: trie.NewDatabase(kvs),
|
||||
stateDatabase: state.NewDatabase(database),
|
||||
db: database,
|
||||
db: database.(*pgipfsethdb.Database),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user