type assertion needed
This commit is contained in:
parent
0926e1f53f
commit
5203c506b0
@ -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),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user