We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13e2365 commit be19adeCopy full SHA for be19ade
1 file changed
models/validator.go
@@ -14,8 +14,8 @@ type Validator struct {
14
CreatedAtBlockID *uint64 `json:"created_at_block_id"`
15
Status *uint8 `json:"status"`
16
Commission *uint64 `json:"commission"`
17
- TotalStake *string `json:"total_stake"`
18
- PublicKey string `json:"public_key" pg:"type:varchar(64)"`
+ TotalStake *string `json:"total_stake" pg:"type:numeric(70)" sql:"type:numeric(70)"`
+ PublicKey string `json:"public_key" pg:"type:varchar(64)" sql:"type:varchar(64)"`
19
Name *string `json:"name"`
20
SiteUrl *string `json:"site_url"`
21
IconUrl *string `json:"icon_url"`
0 commit comments