Skip to content

Commit

Permalink
undo iota + 1 in agents/types
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoMaxPlanck committed Sep 12, 2023
1 parent 178f7dd commit 1e6acb6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agents/types/agent_status_relayed_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type AgentStatusRelayedState uint8

const (
// Queued is when an agent status has been updated on Summit, but has not been relayed to the remote chain.
Queued AgentStatusRelayedState = iota + 1
Queued AgentStatusRelayedState = iota
// Relayed is when the agent status has been relayed to the remote chain.
Relayed
)
2 changes: 1 addition & 1 deletion agents/types/dispute_processed_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type DisputeProcessedStatus uint8

const (
// Opened is when a dispute has been opened but has not been resolved.
Opened DisputeProcessedStatus = iota + 1
Opened DisputeProcessedStatus = iota
// Resolved is when a dispute has been resolved on Summit, but agent status has not been updated on the remote chain.
Resolved
// Propagated is when a dispute has been resolved on Summit, and agent status has been updated on the remote chain.
Expand Down
1 change: 0 additions & 1 deletion agents/types/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package types

import (
"fmt"

"github.com/ethereum/go-ethereum/crypto"
)

Expand Down

0 comments on commit 1e6acb6

Please sign in to comment.