aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
Diffstat (limited to 'miner')
-rw-r--r--miner/miner.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/miner/miner.go b/miner/miner.go
index 949227d98..f80ae51c6 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -69,6 +69,7 @@ type Miner struct {
mining bool
MinAcceptedGasPrice *big.Int
+ Extra string
}
func New(coinbase []byte, eth *eth.Ethereum) *Miner {
@@ -178,6 +179,7 @@ func (self *Miner) mine() {
chainMan = self.eth.ChainManager()
block = chainMan.NewBlock(self.Coinbase)
)
+ block.Header().Extra = self.Extra
// Apply uncles
if len(self.uncles) > 0 {