Skip to content

Commit 5ce194b

Browse files
author
shazbert
committed
glorious: int -> int64
1 parent 3ad1808 commit 5ce194b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exchanges/bybit/convert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type CoinResponse struct {
4444
FullName string `json:"fullName"`
4545
Icon string `json:"icon"`
4646
IconNight string `json:"iconNight"`
47-
AccuracyLength int `json:"accuracyLength"`
47+
AccuracyLength int64 `json:"accuracyLength"`
4848
CoinType string `json:"coinType"`
4949
Balance types.Number `json:"balance"`
5050
BalanceInUSDT types.Number `json:"uBalance"`
@@ -53,7 +53,7 @@ type CoinResponse struct {
5353
DisableFrom bool `json:"disableFrom"` // true: the coin is disabled to be fromCoin, false: the coin is allowed to be fromCoin
5454
DisableTo bool `json:"disableTo"` // true: the coin is disabled to be toCoin, false: the coin is allowed to be toCoin
5555
// Reserved fields, ignored for now
56-
TimePeriod int `json:"timePeriod"`
56+
TimePeriod int64 `json:"timePeriod"`
5757
SingleToMinLimit types.Number `json:"singleToMinLimit"`
5858
SingleToMaxLimit types.Number `json:"singleToMaxLimit"`
5959
DailyFromMinLimit types.Number `json:"dailyFromMinLimit"`

0 commit comments

Comments
 (0)