Documentation improvements, code cleaned up #2

Merged
pdyraga merged 31 commits from master-with-bson into master 2018-06-05 19:08:37 -04:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 9fe64ff57b - Show all commits

No files matched your search

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