Use the same key
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
1af13fe2c3
commit
e14e0ae762
@ -693,7 +693,7 @@ func (cs *ChainStore) GetRandomness(ctx context.Context, blks []cid.Cid, tickets
|
|||||||
}
|
}
|
||||||
lt := int64(len(tickets))
|
lt := int64(len(tickets))
|
||||||
if lb < lt {
|
if lb < lt {
|
||||||
log.Desugar().Warn("self sampling randomness. this should be extremely rare, if you see this often it may be a bug", zap.Stack("call-stack"))
|
log.Desugar().Warn("self sampling randomness. this should be extremely rare, if you see this often it may be a bug", zap.Stack("stacktrace"))
|
||||||
|
|
||||||
t := tickets[lt-(1+lb)]
|
t := tickets[lt-(1+lb)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user