binance: fix withdrawal time parsing

This commit is contained in:
c9s 2021-09-03 14:21:59 +08:00
parent 35ec9ae7b6
commit b6fff482a4

View File

@ -297,7 +297,8 @@ func (e *Exchange) QueryWithdrawHistory(ctx context.Context, asset string, since
txIDs[d.TxID] = struct{}{} 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 { if err != nil {
return nil, err return nil, err
} }