From 5d510c77958eba9fdcd88a2c3ba4cf3088dddaac Mon Sep 17 00:00:00 2001 From: Ardit Marku Date: Wed, 16 Oct 2024 17:10:55 +0300 Subject: [PATCH] Add JSON tags in content type for proper field serialization in TxPool API --- api/pool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/pool.go b/api/pool.go index 4d1a5430..45c5ab0f 100644 --- a/api/pool.go +++ b/api/pool.go @@ -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 {