Skip to content

Commit 65c3e26

Browse files
committed
Minor.
1 parent 2c88fd2 commit 65c3e26

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

keystore/ocr3util/utils.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ func (o *onchainKeyring2[RI]) DebugIdentifier() string {
4343
return o.k.DebugIdentifier()
4444
}
4545

46-
func AsOCR3OnchainKeyring2[RI any](k OnchainKeyring2) ocr3types.OnchainKeyring2[RI] {
46+
// Be careful! If you use this shim, any information in RI is dropped and *not* signed over.
47+
// If you have security-critical information in RI, you should make your own ocr3types.OnchainKeyring2 that does use the information in RI for signing.
48+
func AsOCR3OnchainKeyring2IgnoringRI[RI any](k OnchainKeyring2) ocr3types.OnchainKeyring2[RI] {
4749
return &onchainKeyring2[RI]{k}
4850
}

0 commit comments

Comments
 (0)