set the TokenDecimals as int to match the API response

This commit is contained in:
Alfred Kamanda 2024-11-15 20:50:07 +03:00
parent c8fc32a4e7
commit 7d16b710d8
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -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"`
}