From 88552ba0425e8265ef04598b4c1f1a84306eb63d Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Thu, 14 Nov 2024 09:25:39 -0700 Subject: [PATCH] fix nil pointer dereference --- providers/bitcoin/providerImpl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/bitcoin/providerImpl.go b/providers/bitcoin/providerImpl.go index bdb180a..a43a29a 100644 --- a/providers/bitcoin/providerImpl.go +++ b/providers/bitcoin/providerImpl.go @@ -63,7 +63,7 @@ func (p *Provider) GetBalances() ([]int, []string, error) { }(goErr) } wg.Wait() - if *goErr != nil { + if goErr != nil { return nil, nil, *goErr }