address nil pointer dereference

This commit is contained in:
Cassandra Heart 2025-03-24 01:30:28 -05:00
parent 2a3a9bba47
commit 5020bc8529
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -710,7 +710,10 @@ func (p *PebbleHypergraphStore) LoadHypergraph() (
txn.Abort()
return err
}
txn = nil
txn, err = p.NewTransaction(false)
if err != nil {
return err
}
}
}
if txn != nil {