diff --git a/docs/content/docs/ring-signatures.mdx b/docs/content/docs/ring-signatures.mdx index 51305b0..a374d52 100644 --- a/docs/content/docs/ring-signatures.mdx +++ b/docs/content/docs/ring-signatures.mdx @@ -121,15 +121,15 @@ type ThresholdEngine interface { ```go // Validator creates their share -precomp, _ := corona.Precompute(validatorSK) -share, _ := corona.QuickSign(precomp, blockHash) +precomp, _ := Corona.Precompute(validatorSK) +share, _ := Corona.QuickSign(precomp, blockHash) // Collect shares from t validators shares := collectSharesFromValidators() // Aggregate into final certificate if len(shares) >= threshold { - cert, _ := corona.Aggregate(shares) + cert, _ := Corona.Aggregate(shares) // cert is the threshold signature } ``` diff --git a/docs/content/docs/signer.mdx b/docs/content/docs/signer.mdx index 8367cb3..0576a85 100644 --- a/docs/content/docs/signer.mdx +++ b/docs/content/docs/signer.mdx @@ -130,7 +130,7 @@ Pulsar threshold operations depend on the consensus layer. func exportPublicKeys(s *signer.Signer) map[string][]byte { return map[string][]byte{ "bls": s.GetBLSPublicKey(), - "corona": s.GetCoronaPublicKey().Bytes(), + "Corona": s.GetCoronaPublicKey().Bytes(), } } ``` @@ -140,7 +140,7 @@ func exportPublicKeys(s *signer.Signer) map[string][]byte { ```go // For advanced operations blsKey := s.BLSSecretKey() -coronaKey := s.CoronaPrivateKey() +CoronaKey := s.CoronaPrivateKey() ``` ## Security Considerations