set the TokenDecimals as int to match the API response
This commit is contained in:
parent
c8fc32a4e7
commit
7d16b710d8
@ -3,6 +3,6 @@ package models
|
|||||||
type VoucherDataResult struct {
|
type VoucherDataResult struct {
|
||||||
TokenName string `json:"tokenName"`
|
TokenName string `json:"tokenName"`
|
||||||
TokenSymbol string `json:"tokenSymbol"`
|
TokenSymbol string `json:"tokenSymbol"`
|
||||||
TokenDecimals string `json:"tokenDecimals"`
|
TokenDecimals int `json:"tokenDecimals"`
|
||||||
SinkAddress string `json:"sinkAddress"`
|
SinkAddress string `json:"sinkAddress"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user