Skip to content

Commit f522525

Browse files
authored
small typos (#269)
1 parent 4c5303e commit f522525

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

epoch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@ func (e *Epoch) maybeAdvanceRoundFromEmptyNotarizations() (bool, error) {
28112811
round := e.round
28122812
expectedSeq := e.metadata().Seq
28132813

2814-
nextSeqQuorum := e.replicationState.GetQuroumRoundWithSeq(expectedSeq)
2814+
nextSeqQuorum := e.replicationState.GetQuorumRoundWithSeq(expectedSeq)
28152815
if nextSeqQuorum != nil {
28162816
// num empty notarizations
28172817
if round < nextSeqQuorum.GetRound() {

replication.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"go.uber.org/zap"
1414
)
1515

16-
// signedSequence is a sequence that has been signed by a qourum certificate.
16+
// signedSequence is a sequence that has been signed by a quorum certificate.
1717
// it essentially is a quorum round without the enforcement of needing a block with a
1818
// finalization or notarization.
1919
type signedSequence struct {
@@ -315,7 +315,7 @@ func (r *ReplicationState) highestKnownRound() uint64 {
315315
return highestRound
316316
}
317317

318-
func (r *ReplicationState) GetQuroumRoundWithSeq(seq uint64) *QuorumRound {
318+
func (r *ReplicationState) GetQuorumRoundWithSeq(seq uint64) *QuorumRound {
319319
for _, round := range r.receivedQuorumRounds {
320320
if round.GetSequence() == seq {
321321
return &round

0 commit comments

Comments
 (0)