File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type Transaction struct {
1919 ServiceData string `json:"service_data"`
2020 Data json.RawMessage `json:"data"`
2121 IData interface {} `json:"-" pg:"-" sql:"-"`
22- Tags json. RawMessage `json:"tags"`
22+ Tags map [ string ] string `json:"tags"`
2323 Payload []byte `json:"payload"`
2424 RawTx []byte `json:"raw_tx"`
2525 Block * Block `json:"block"` //Relation has one to Blocks
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ type Validator struct {
1414 CreatedAtBlockID * uint64 `json:"created_at_block_id"`
1515 Status * uint8 `json:"status"`
1616 Commission * uint64 `json:"commission"`
17- TotalStake * string `json:"total_stake" pg:"type:numeric(70)" `
17+ TotalStake * string `json:"total_stake"`
1818 PublicKey string `json:"public_key" pg:"type:varchar(64)"`
1919 Name * string `json:"name"`
2020 SiteUrl * string `json:"site_url"`
You can’t perform that action at this time.
0 commit comments