mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-07 23:16:53 +00:00
Orders: Fix ClientOrderID not updated in merge (#1235)
This commit is contained in:
@@ -184,6 +184,10 @@ func (d *Detail) UpdateOrderFromDetail(m *Detail) error {
|
||||
d.ClientID = m.ClientID
|
||||
updated = true
|
||||
}
|
||||
if m.ClientOrderID != "" && m.ClientOrderID != d.ClientOrderID {
|
||||
d.ClientOrderID = m.ClientOrderID
|
||||
updated = true
|
||||
}
|
||||
if m.WalletAddress != "" && m.WalletAddress != d.WalletAddress {
|
||||
d.WalletAddress = m.WalletAddress
|
||||
updated = true
|
||||
|
||||
Reference in New Issue
Block a user