Skip to content
Closed
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 accounts/abi/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func (t Type) pack(v reflect.Value) ([]byte, error) {
}
}

// requireLengthPrefix returns whether the type requires any sort of length
// requiresLengthPrefix returns whether the type requires any sort of length
// prefixing.
func (t Type) requiresLengthPrefix() bool {
return t.T == StringTy || t.T == BytesTy || t.T == SliceTy
Expand Down
2 changes: 1 addition & 1 deletion consensus/quorum/one-node-one-vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (v *uniformVoteWeight) IsQuorumAchieved(p Phase) bool {
return r
}

// IsQuorumAchivedByMask ..
// IsQuorumAchievedByMask ..
func (v *uniformVoteWeight) IsQuorumAchievedByMask(mask *bls_cosi.Mask) bool {
if mask == nil {
return false
Expand Down
2 changes: 1 addition & 1 deletion consensus/quorum/one-node-staked-vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (v *stakedVoteWeight) IsQuorumAchieved(p Phase) bool {
}
}

// IsQuorumAchivedByMask ..
// IsQuorumAchievedByMask ..
func (v *stakedVoteWeight) IsQuorumAchievedByMask(mask *bls_cosi.Mask) bool {
threshold := v.QuorumThreshold()
if mask == nil {
Expand Down