Skip to content

Commit 4d2312f

Browse files
authored
Merge pull request #92 from MinterTeam/m2
update validator ban model
2 parents 0bb7e71 + b5ac2ea commit 4d2312f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.12.8
1+
2.12.9

models/validator_bans.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ package models
33
type ValidatorBan struct {
44
ValidatorId uint `json:"validator_id"`
55
BlockId uint64 `json:"block_id"`
6-
Validator *Validator `json:"validator" pg:"rel:belongs-to"`
6+
Validator *Validator `json:"validator" pg:"rel:belongs-to"`
7+
Block *Block `json:"block" pg:"rel:belongs-to"`
78
}

0 commit comments

Comments
 (0)