fix nil pointer dereference
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steven Polley 2024-11-14 09:25:39 -07:00
parent 068004ba14
commit 88552ba042

View File

@ -63,7 +63,7 @@ func (p *Provider) GetBalances() ([]int, []string, error) {
}(goErr)
}
wg.Wait()
if *goErr != nil {
if goErr != nil {
return nil, nil, *goErr
}