fix nil pointer dereference
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
068004ba14
commit
88552ba042
@ -63,7 +63,7 @@ func (p *Provider) GetBalances() ([]int, []string, error) {
|
||||
}(goErr)
|
||||
}
|
||||
wg.Wait()
|
||||
if *goErr != nil {
|
||||
if goErr != nil {
|
||||
return nil, nil, *goErr
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user