aboutsummaryrefslogtreecommitdiffstats
path: root/consensus
diff options
context:
space:
mode:
authorMymskmkt <1847234666@qq.com>2018-08-28 15:05:25 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-28 15:05:25 +0800
commitc64d72bea207ccaca3f6aded25d8730a4b8696cd (patch)
treece4b768304f3536dec4c32d91ebd7282fcd0acb1 /consensus
parent0bec85f2e27d7b79f7700643cd9b38e74cecadfa (diff)
downloadgo-tangerine-c64d72bea207ccaca3f6aded25d8730a4b8696cd.tar
go-tangerine-c64d72bea207ccaca3f6aded25d8730a4b8696cd.tar.gz
go-tangerine-c64d72bea207ccaca3f6aded25d8730a4b8696cd.tar.bz2
go-tangerine-c64d72bea207ccaca3f6aded25d8730a4b8696cd.tar.lz
go-tangerine-c64d72bea207ccaca3f6aded25d8730a4b8696cd.tar.xz
go-tangerine-c64d72bea207ccaca3f6aded25d8730a4b8696cd.tar.zst
go-tangerine-c64d72bea207ccaca3f6aded25d8730a4b8696cd.zip
consensus/ethash: remove unnecessary type declaration (#17529)
Diffstat (limited to 'consensus')
-rw-r--r--consensus/ethash/consensus.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go
index 259cc5056..af0e733ae 100644
--- a/consensus/ethash/consensus.go
+++ b/consensus/ethash/consensus.go
@@ -38,10 +38,10 @@ import (
// Ethash proof-of-work protocol constants.
var (
- FrontierBlockReward *big.Int = big.NewInt(5e+18) // Block reward in wei for successfully mining a block
- ByzantiumBlockReward *big.Int = big.NewInt(3e+18) // Block reward in wei for successfully mining a block upward from Byzantium
- maxUncles = 2 // Maximum number of uncles allowed in a single block
- allowedFutureBlockTime = 15 * time.Second // Max time from current time allowed for blocks, before they're considered future blocks
+ FrontierBlockReward = big.NewInt(5e+18) // Block reward in wei for successfully mining a block
+ ByzantiumBlockReward = big.NewInt(3e+18) // Block reward in wei for successfully mining a block upward from Byzantium
+ maxUncles = 2 // Maximum number of uncles allowed in a single block
+ allowedFutureBlockTime = 15 * time.Second // Max time from current time allowed for blocks, before they're considered future blocks
)
// Various error messages to mark blocks invalid. These should be private to