From 7d16b710d81f31c78480a0a4cf101c1e42dfd8b4 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Fri, 15 Nov 2024 20:50:07 +0300 Subject: [PATCH] set the TokenDecimals as int to match the API response --- models/voucher_data_result.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/voucher_data_result.go b/models/voucher_data_result.go index f04aafe..c9f0b74 100644 --- a/models/voucher_data_result.go +++ b/models/voucher_data_result.go @@ -3,6 +3,6 @@ package models type VoucherDataResult struct { TokenName string `json:"tokenName"` TokenSymbol string `json:"tokenSymbol"` - TokenDecimals string `json:"tokenDecimals"` + TokenDecimals int `json:"tokenDecimals"` SinkAddress string `json:"sinkAddress"` }