diff --git a/src/models/modelWallets.go b/src/models/modelWallets.go index 7e5104bf..10d9f715 100644 --- a/src/models/modelWallets.go +++ b/src/models/modelWallets.go @@ -123,6 +123,9 @@ func (m *ModelWallets) loadModel() { for addresses.Next() { a := addresses.Value() outputs := a.GetCryptoAccount().ScanUnspentOutputs() + if outputs == nil { + return + } mo := NewModelOutputs(nil) mo.SetAddress(a.String()) qOutputs := make([]*QOutput, 0)