Skip to content

Commit

Permalink
pair: fix comments on constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Oct 8, 2018
1 parent 315ac3e commit 826f2a6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pair.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ var pairStateToStr = map[PairState]string{
func (s PairState) String() string { return pairStateToStr[s] }

const (
// PairFrozen: A check for this pair has not been sent, and it cannot be
// sent until the pair is unfrozen and moved into the Waiting state.
// PairFrozen state: A check for this pair has not been sent, and it cannot
// be sent until the pair is unfrozen and moved into the Waiting state.
PairFrozen PairState = iota
// PairInProgress: A check has been sent for this pair, but the
// PairInProgress state: A check has been sent for this pair, but the
// transaction is in progress.
PairInProgress
// PairSucceeded: A check has been sent for this pair, and it produced a
// successful result.
// PairSucceeded state: A check has been sent for this pair, and it produced
// a successful result.
PairSucceeded
// PairFailed: A check has been sent for this pair, and it failed (a
// PairFailed state: A check has been sent for this pair, and it failed (a
// response to the check was never received, or a failure response was
// received).
PairFailed
// PairWaiting: A check has not been sent for this pair, but the pair is
// not Frozen.
// PairWaiting state: A check has not been sent for this pair, but the pair
// is not Frozen.
PairWaiting
)

Expand Down

0 comments on commit 826f2a6

Please sign in to comment.