fix nil pointer dereference
This commit is contained in:
1 parent
068004ba14
commit
88552ba042
1 file changed
+1
-1
@@ -63,7 +63,7 @@ func (p *Provider) GetBalances() ([]int, []string, error) {
|
||||
}(goErr)
|
||||
}
|
||||
wg.Wait()
|
||||
if *goErr != nil {
|
||||
if goErr != nil {
|
||||
return nil, nil, *goErr
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user