mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 15:10:54 +00:00
Bump golangci-lint to v1.24.0, linter fixes and general code improvements (#478)
* Bump golangci-lint version, update Go version deps and generic code improvements * Fix wesbocket resp nil check and zip closures * Update pprof path
This commit is contained in:
@@ -419,8 +419,9 @@ func getInternationalBankDepositFee(c currency.Code, amount float64) float64 {
|
||||
// IsLoaded returns whether or not the instrument map has been seeded
|
||||
func (i *instrumentMap) IsLoaded() bool {
|
||||
i.m.Lock()
|
||||
defer i.m.Unlock()
|
||||
return i.Loaded
|
||||
isLoaded := i.Loaded
|
||||
i.m.Unlock()
|
||||
return isLoaded
|
||||
}
|
||||
|
||||
// Seed seeds the instrument map
|
||||
|
||||
Reference in New Issue
Block a user