mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-03-10 18:57:32 +08:00
don't rebuild hypergraph if unnecessary
This commit is contained in:
parent
e5954a90a1
commit
b59e5b1565
@ -362,8 +362,8 @@ func NewTokenExecutionEngine(
|
||||
e.proverPublicKey = publicKeyBytes
|
||||
e.provingKeyAddress = provingKeyAddress
|
||||
|
||||
frame, _, err := e.clockStore.GetLatestDataClockFrame(e.intrinsicFilter)
|
||||
if err != nil || frame.FrameNumber < 186405 {
|
||||
_, _, err = e.clockStore.GetLatestDataClockFrame(e.intrinsicFilter)
|
||||
if err != nil {
|
||||
e.rebuildHypergraph()
|
||||
} else {
|
||||
e.hypergraph, err = e.hypergraphStore.LoadHypergraph()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user