Skip to content

Commit 6914783

Browse files
committed
Fix eon/keyper config index mixup
In epoch key generation related p2p messages, we only use the keyper config index, not the eon index.
1 parent d99963c commit 6914783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rolling-shutter/keyper/epochkghandler/sendkeyshare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (ksh *KeyShareHandler) ConstructDecryptionKeyShares(
122122
})
123123
}
124124

125-
keyperSetIndexUint, err := medley.Int64ToUint64Safe(eon.Eon)
125+
keyperSetIndexUint, err := medley.Int64ToUint64Safe(eon.KeyperConfigIndex)
126126
if err != nil {
127127
return nil, err
128128
}

0 commit comments

Comments
 (0)