diff --git a/packages/gpa/own_handler_test.go b/packages/gpa/own_handler_test.go index 7fdeca0ca3..c5191a1aae 100644 --- a/packages/gpa/own_handler_test.go +++ b/packages/gpa/own_handler_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" ) -// TestRound uses OwnHandler, so we use it for this test. +// TestOwnHandler uses OwnHandler, so we use it for this test. func TestOwnHandler(t *testing.T) { t.Parallel() n := 10 diff --git a/packages/solo/solofun.go b/packages/solo/solofun.go index 418d711a9d..f86347cf75 100644 --- a/packages/solo/solofun.go +++ b/packages/solo/solofun.go @@ -25,7 +25,7 @@ func (env *Solo) NewSeedFromIndex(index int) *cryptolib.Seed { return &seed } -// NewSignatureSchemeWithFundsAndPubKey generates new ed25519 signature scheme +// NewKeyPairWithFunds generates new ed25519 signature scheme // and requests some tokens from the UTXODB faucet. // The amount of tokens is equal to utxodb.FundsFromFaucetAmount (=1000Mi) base tokens // Returns signature scheme interface and public key in binary form diff --git a/packages/tcrypto/dkshare.go b/packages/tcrypto/dkshare.go index 8414671921..ea11aa5e2c 100644 --- a/packages/tcrypto/dkshare.go +++ b/packages/tcrypto/dkshare.go @@ -517,7 +517,7 @@ func (s *dkShareImpl) BLSVerifySigShare(data []byte, sigshare tbls.SigShare) err return bdn.Verify(s.blsSuite, s.blsPublicShares[idx], data, sigshare.Value()) } -// BLSRecoverFullSignature generates (recovers) master signature from partial sigshares. +// BLSRecoverMasterSignature generates (recovers) master signature from partial sigshares. // returns signature as defined in the value Tangle func (s *dkShareImpl) BLSRecoverMasterSignature(sigShares [][]byte, data []byte) (*bls.SignatureWithPublicKey, error) { var err error