Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
JekaMas committed Oct 8, 2018
1 parent 072f3d1 commit c43e6a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion client/core/types/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (ds *DataSet) Add(blockNumber *big.Int, blockHash common.Hash, chunk *Chunk
default:
if ds.blockHash != blockHash || ds.blockNumber.Cmp(blockNumber) == 0 {
return fmt.Errorf("expected fragments for %d(%v), got %d(%v)",
blockNumber.Int64(), blockHash, ds.blockNumber.Int64(), ds.blockHash,)
blockNumber.Int64(), blockHash, ds.blockNumber.Int64(), ds.blockHash)
}
}

Expand Down
2 changes: 0 additions & 2 deletions client/knode/validator/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ type VotingState struct {
lockedRound uint64
lockedBlock *types.Block

leaderBlockHash common.Hash

start time.Time // used to sync the validator nodes

commitRound int
Expand Down

0 comments on commit c43e6a4

Please sign in to comment.