Skip to content

Commit

Permalink
Merge pull request #614 from onflow/txpool-add-json-tags
Browse files Browse the repository at this point in the history
Add JSON tags in `content` type for proper field serialization in `TxPool` API
  • Loading branch information
m-Peter authored Oct 22, 2024
2 parents c457666 + 0f24e76 commit db833bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ func NewTxPoolAPI() *TxPool {
}

type content struct {
Pending any
Queued any
Pending any `json:"pending"`
Queued any `json:"queued"`
}

func emptyPool() content {
Expand Down

0 comments on commit db833bc

Please sign in to comment.