aboutsummaryrefslogtreecommitdiff
path: root/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/inmemory.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/inmemory.go b/dashboard/inmemory.go
index 0548494..5735211 100644
--- a/dashboard/inmemory.go
+++ b/dashboard/inmemory.go
@@ -115,7 +115,7 @@ func (m *inmemory) Join(auctionId string,
return ErrAuctionNotReady
}
auction.commitments[bidderId] = commitment
- auction.messages[bidderId] = make([]SignedMessage, auction.description.BitLength)
+ auction.messages[bidderId] = make([]SignedMessage, auction.description.Bitlength)
return nil
}
@@ -178,7 +178,7 @@ func (m *inmemory) Publish(auctionId string, round uint8, message SignedMessage,
if completed {
auction.round += 1
- if auction.round == auction.description.BitLength {
+ if auction.round == auction.description.Bitlength {
auction.state = AuctionStateFinished
}
}
@@ -239,4 +239,4 @@ func (m *inmemory) Cancel(auctionId string, reason SignedMessage, publickey ed25
func (m *inmemory) Result(auctionId string) (price uint64, winner ed25519.PublicKey, e error) {
return 0, nil, fmt.Errorf("Result not implemented")
-} \ No newline at end of file
+}