Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make function comment match function names #3441

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/gpa/own_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/solo/solofun.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/tcrypto/dkshare.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading