fix type change on max api

This commit is contained in:
sincoew 2021-07-15 17:51:14 +08:00
parent 5cf134a756
commit 4f2b1d975a

View File

@ -158,7 +158,7 @@ type Deposit struct {
Fee string `json:"fee"` Fee string `json:"fee"`
TxID string `json:"txid"` TxID string `json:"txid"`
State string `json:"state"` State string `json:"state"`
Confirmations string `json:"confirmations"` Confirmations int64 `json:"confirmations"`
CreatedAt int64 `json:"created_at"` CreatedAt int64 `json:"created_at"`
UpdatedAt int64 `json:"updated_at"` UpdatedAt int64 `json:"updated_at"`
} }
@ -306,4 +306,3 @@ func (r *GetWithdrawHistoryRequest) Do(ctx context.Context) (withdraws []Withdra
return withdraws, err return withdraws, err
} }