From 4e81315443ee78b699f2f43891d980d47766f7cc Mon Sep 17 00:00:00 2001 From: Lucas Francisco Lopez Date: Sun, 25 Feb 2024 13:19:44 -0300 Subject: [PATCH] Add omitempty to feedata --- types/transaction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/transaction.go b/types/transaction.go index 79b7074c..598ef263 100644 --- a/types/transaction.go +++ b/types/transaction.go @@ -40,7 +40,7 @@ type Transaction struct { // ParserVersion is the parser version used to parse this tx ParserVersion string `json:"parser_version"` // FeeData is the fee data - FeeData string `json:"fee_data"` + FeeData string `json:"fee_data,omitempty"` NodeInfo }