From 469aab256aa5571986247592a2c0e7244668c38c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Francisco=20L=C3=B3pez?= Date: Sun, 25 Feb 2024 16:30:34 -0300 Subject: [PATCH] Add omitempty to feedata (#119) --- 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 }