mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
final tweaks
This commit is contained in:
parent
690eb654b3
commit
badd6529bc
@ -635,6 +635,10 @@ func (e *TokenExecutionEngine) hyperSync() {
|
||||
"hypergraph root commit",
|
||||
zap.String("root", hex.EncodeToString(roots[0])),
|
||||
)
|
||||
|
||||
if err = e.hypergraphStore.SaveHypergraph(e.hypergraph); err != nil {
|
||||
e.logger.Error("error while saving", zap.Error(err))
|
||||
}
|
||||
}
|
||||
|
||||
func (e *TokenExecutionEngine) rebuildHypergraph() {
|
||||
|
||||
@ -377,7 +377,7 @@ outer:
|
||||
},
|
||||
}
|
||||
if err := stream.Send(queryMsg); err != nil {
|
||||
return err
|
||||
break outer
|
||||
}
|
||||
|
||||
case msg, ok := <-incomingOut:
|
||||
@ -797,7 +797,7 @@ outer:
|
||||
queryPath,
|
||||
metadataOnly,
|
||||
); err != nil {
|
||||
return err
|
||||
break outer
|
||||
}
|
||||
} else {
|
||||
logger.Info(
|
||||
|
||||
@ -4,7 +4,6 @@ import (
|
||||
"bytes"
|
||||
"encoding/gob"
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
"io/fs"
|
||||
"os"
|
||||
"path"
|
||||
@ -238,8 +237,6 @@ func (p *PebbleHypergraphStore) LoadHypergraph() (
|
||||
return nil
|
||||
}
|
||||
|
||||
fmt.Println(d.Name())
|
||||
|
||||
shardSet, err := hex.DecodeString(d.Name())
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Loading…
Reference in New Issue
Block a user