aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/configuration-chain.go1
-rw-r--r--core/consensus.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/core/configuration-chain.go b/core/configuration-chain.go
index 8834e0d..2676351 100644
--- a/core/configuration-chain.go
+++ b/core/configuration-chain.go
@@ -68,6 +68,7 @@ func newConfigurationChain(
dkgSigner: make(map[uint64]*dkgShareSecret),
gpk: make(map[uint64]*DKGGroupPublicKey),
tsig: make(map[common.Hash]*tsigProtocol),
+ tsigTouched: make(map[common.Hash]struct{}),
tsigReady: sync.NewCond(&sync.Mutex{}),
pendingPsig: make(map[common.Hash][]*types.DKGPartialSignature),
}
diff --git a/core/consensus.go b/core/consensus.go
index 7154b1b..76fa3b7 100644
--- a/core/consensus.go
+++ b/core/consensus.go
@@ -733,7 +733,7 @@ func (con *Consensus) ProcessAgreementResult(
con.logger.Debug("Calling Network.BroadcastRandomnessResult",
"hash", result.BlockHash,
"position", result.Position,
- "randomness", string(result.Randomness))
+ "randomness", hex.EncodeToString(result.Randomness))
con.network.BroadcastRandomnessResult(result)
}()
return nil