aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-22 01:18:19 +0800
committerobscuren <geffobscura@gmail.com>2015-03-22 01:18:19 +0800
commit7f85608f30a2e34005c8d15566849229c758c2f1 (patch)
tree7aeb9d8bdfda7ec10ea38688a96ed245028764ad /miner/miner.go
parent09766d1729f7530093aec7e9acd3e5339b2c2028 (diff)
parentfcacfabe1959c4aff6a63cb4e275f65328660601 (diff)
downloadgo-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar
go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.gz
go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.bz2
go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.lz
go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.xz
go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.zst
go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.zip
Merge branch 'conversion' into develop
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/miner/miner.go b/miner/miner.go
index 7bf67a6ec..ccc19c754 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -4,6 +4,7 @@ import (
"math/big"
"github.com/ethereum/ethash"
+ "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/pow"
@@ -32,7 +33,7 @@ func (self *Miner) Mining() bool {
return self.mining
}
-func (self *Miner) Start(coinbase []byte) {
+func (self *Miner) Start(coinbase common.Address) {
self.mining = true
self.worker = newWorker(coinbase, self.eth)
self.worker.register(NewCpuMiner(0, self.pow))