mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
address nil pointer dereference
This commit is contained in:
parent
2a3a9bba47
commit
5020bc8529
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user