mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
In PoloniexDepositsWithdrawals, use int64 instead of time.Time + fix
typo
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
package poloniex
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type PoloniexTicker struct {
|
||||
Last float64 `json:"last,string"`
|
||||
LowestAsk float64 `json:"lowestAsk,string"`
|
||||
@@ -92,24 +88,24 @@ type PoloniexDepositAddresses struct {
|
||||
|
||||
type PoloniexDepositsWithdrawals struct {
|
||||
Deposits []struct {
|
||||
Currency string `json:"currency"`
|
||||
Address string `json:"address"`
|
||||
Amount float64 `json:"amount,string"`
|
||||
Confirmations int `json:"confirmations"`
|
||||
TransactionID string `json:"txid"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Status string `json:"string"`
|
||||
Currency string `json:"currency"`
|
||||
Address string `json:"address"`
|
||||
Amount float64 `json:"amount,string"`
|
||||
Confirmations int `json:"confirmations"`
|
||||
TransactionID string `json:"txid"`
|
||||
Timestamp int64 `json:"timestamp"`
|
||||
Status string `json:"status"`
|
||||
} `json:"deposits"`
|
||||
Withdrawals []struct {
|
||||
WithdrawalNumber int64 `json:"withdrawalNumber"`
|
||||
Currency string `json:"currency"`
|
||||
Address string `json:"address"`
|
||||
Amount float64 `json:"amount,string"`
|
||||
Confirmations int `json:"confirmations"`
|
||||
TransactionID string `json:"txid"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Status string `json:"string"`
|
||||
IPAddress string `json:"ipAddress"`
|
||||
WithdrawalNumber int64 `json:"withdrawalNumber"`
|
||||
Currency string `json:"currency"`
|
||||
Address string `json:"address"`
|
||||
Amount float64 `json:"amount,string"`
|
||||
Confirmations int `json:"confirmations"`
|
||||
TransactionID string `json:"txid"`
|
||||
Timestamp int64 `json:"timestamp"`
|
||||
Status string `json:"status"`
|
||||
IPAddress string `json:"ipAddress"`
|
||||
} `json:"withdrawals"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user