Bittrex - changed type of field "Id" in DepositHistory struct (#419)

* Bittrex GetDepositHistory method return new DepositHistory struct type

* Id field of DepositHistory type changed to int64

* check exchange (exist and enabled) before calling methods on, to avoid program crashes

* Update bittrex_types.go
This commit is contained in:
Vazha
2020-01-22 02:30:14 +02:00
committed by Adrian Gallagher
parent 4b9de0fdd0
commit 4c33a0738a
2 changed files with 9 additions and 3 deletions

View File

@@ -215,7 +215,7 @@ type DepositHistory struct {
Success bool `json:"success"`
Message string `json:"message"`
Result []struct {
ID string `json:"Id"`
ID int64 `json:"Id"`
Amount float64 `json:"Amount"`
Currency string `json:"Currency"`
Confirmations int64 `json:"Confirmations"`