Skip to content

Commit b30d405

Browse files
authored
feat(database): get drep function (#1056)
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
1 parent cd44e60 commit b30d405

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

database/plugin/metadata/store.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ type MetadataStore interface {
6666
lcommon.Blake2b256,
6767
*gorm.DB,
6868
) (*models.Datum, error)
69+
GetDrep(
70+
[]byte, // credential
71+
*gorm.DB,
72+
) (models.Drep, error)
6973
GetPParams(
7074
uint64, // epoch
7175
*gorm.DB,

0 commit comments

Comments
 (0)