Skip to content

Commit

Permalink
consensus/ethash: whitespace
Browse files Browse the repository at this point in the history
Date: 2023-08-30 06:28:10-06:00
Signed-off-by: meows <b5c6@protonmail.com>
  • Loading branch information
meowsbits committed Aug 30, 2023
1 parent a96e4df commit fe89341
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions consensus/ethash/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
package ethash

import (
"bytes"
"errors"
"fmt"
"math/big"
"runtime"
"time"

mapset "github.com/deckarep/golang-set/v2"
Expand Down Expand Up @@ -83,11 +85,11 @@ var (
// codebase, inherently breaking if the engine is swapped out. Please put common
// error types into the consensus package.
var (
errOlderBlockTime = errors.New("timestamp older than parent")
errTooManyUncles = errors.New("too many uncles")
errDuplicateUncle = errors.New("duplicate uncle")
errUncleIsAncestor = errors.New("uncle is ancestor")
errDanglingUncle = errors.New("uncle's parent is not ancestor")
errOlderBlockTime = errors.New("timestamp older than parent")
errTooManyUncles = errors.New("too many uncles")
errDuplicateUncle = errors.New("duplicate uncle")
errUncleIsAncestor = errors.New("uncle is ancestor")
errDanglingUncle = errors.New("uncle's parent is not ancestor")
errInvalidDifficulty = errors.New("non-positive difficulty")
errInvalidMixDigest = errors.New("invalid mix digest")
errInvalidPoW = errors.New("invalid proof-of-work")
Expand Down

0 comments on commit fe89341

Please sign in to comment.