Skip to content

Commit

Permalink
Add JSON tags in content type for proper field serialization in TxPoo…
Browse files Browse the repository at this point in the history
…l API
  • Loading branch information
m-Peter committed Oct 16, 2024
1 parent f29d065 commit 5d510c7
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 5d510c7

Please sign in to comment.