Comment about G value moved to ThresholdKey

G is no longer a parameter of PublicKey.
This commit is contained in:
Piotr Dyraga committed 2018-05-25 09:58:26 +02:00
1 parent 013296b8e4
commit 9fe64ff57b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import (
)
type PublicKey struct {
N *big.Int // usually G is set to N+1
N *big.Int
}
func (this *PublicKey) GetBSON() (interface{}, error) {
+1 -1
View File
@@ -14,7 +14,7 @@ type ThresholdKey struct {
Threshold int
V *big.Int
Vi []*big.Int
G *big.Int
G *big.Int // usually G is set to N+1
}
// returns the value of (4*delta**2)** -1 mod n