From 2cf02cdcd2ccb742af049c711d6bdfaeacfa16ce Mon Sep 17 00:00:00 2001 From: Julian Yap Date: Tue, 24 Dec 2019 01:15:09 -1000 Subject: [PATCH] Sync with upstream and remove unused variables --- consensus/ubqhash/consensus.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/consensus/ubqhash/consensus.go b/consensus/ubqhash/consensus.go index c890291190..e18c32af67 100644 --- a/consensus/ubqhash/consensus.go +++ b/consensus/ubqhash/consensus.go @@ -83,13 +83,11 @@ type diffConfig struct { // codebase, inherently breaking if the engine is swapped out. Please put common // error types into the consensus package. var ( - errLargeBlockTime = errors.New("timestamp too big") errZeroBlockTime = errors.New("timestamp equals parent's") 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") - errNonceOutOfRange = errors.New("nonce out of range") errInvalidDifficulty = errors.New("non-positive difficulty") errInvalidMixDigest = errors.New("invalid mix digest") errInvalidPoW = errors.New("invalid proof-of-work")