mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 18:37:26 +08:00
adjust sidecar
This commit is contained in:
parent
65bf136018
commit
ffca887406
@ -106,7 +106,7 @@ RUN ./build.sh -o qclient && cp qclient /usr/bin
|
||||
|
||||
# Build and install sidecar
|
||||
WORKDIR /opt/ceremonyclient/sidecar
|
||||
RUN ./build.sh -o sidecar ./... && cp sidecar /usr/bin
|
||||
RUN ./build.sh -o sidecar && cp sidecar /usr/bin
|
||||
|
||||
# Allows exporting single binary
|
||||
FROM scratch as qclient
|
||||
|
||||
@ -243,6 +243,10 @@ func handleClockFrame(
|
||||
panic(err)
|
||||
}
|
||||
|
||||
if head == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
if frame.FrameNumber > head.FrameNumber {
|
||||
if _, err := dataTimeReel.Insert(ctx, frame); err != nil {
|
||||
logger.Debug("could not insert frame", zap.Error(err))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user