thrasher-corp / gocryptotrader

A cryptocurrency trading bot and framework supporting multiple exchanges written in Golang.
MIT License
2.98k stars 799 forks source link

Subscriptions: Fix subscription.Clone Params and Pairs #1582

Closed gbjk closed 1 month ago

gbjk commented 1 month ago

Fixes Clone() affecting the original and not the clone for Pairs and Params. That actually meant it would pass tests, and kinda work, but not in the way expected, and definitely not thread safe on the original parent

Type of change