aboutsummaryrefslogtreecommitdiff
path: root/dashboard/dashboard.go
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/dashboard.go')
-rw-r--r--dashboard/dashboard.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/dashboard/dashboard.go b/dashboard/dashboard.go
index 9b6dedd..6f384f9 100644
--- a/dashboard/dashboard.go
+++ b/dashboard/dashboard.go
@@ -46,6 +46,7 @@ const (
ErrAuctionFinished
ErrAuctionCanceled
ErrAuctionTimeout
+ ErrAuctionInvalidRound
ErrBidderUnknown
ErrBidderTimeout
@@ -79,6 +80,8 @@ func (d Error) Error() string {
return "action has timed out"
case ErrAuctionCanceled:
return "auction has been canceled"
+ case ErrAuctionInvalidRound:
+ return "invalid round"
case ErrBidderUnknown:
return "bidder is unknown"
@@ -120,7 +123,6 @@ func (s *SignedCommitment) Verify(pubkey ed25519.PublicKey) bool {
buf := &bytes.Buffer{}
e := json.NewEncoder(buf).Encode(s.Commitment)
if e != nil {
- // TODO: log message?
return false
}