mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
binance: fix withdrawal time parsing
This commit is contained in:
parent
35ec9ae7b6
commit
b6fff482a4
|
@ -297,7 +297,8 @@ func (e *Exchange) QueryWithdrawHistory(ctx context.Context, asset string, since
|
|||
|
||||
txIDs[d.TxID] = struct{}{}
|
||||
|
||||
applyTime, err := time.Parse(time.RFC3339, d.ApplyTime)
|
||||
// 2006-01-02 15:04:05
|
||||
applyTime, err := time.Parse("2006-01-02 15:04:05", d.ApplyTime)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user