aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-23 19:12:53 +0800
committerobscuren <geffobscura@gmail.com>2015-03-23 19:12:53 +0800
commit6657d544db4eefec24ebd280940048f25ed85186 (patch)
treea65998614ecb147e0e67107aa34ac306d027ccc1 /xeth/xeth.go
parent0be6d3404898a8e68f2f78cfa6b64d6b1f314fb0 (diff)
parentdbb2af6016c952b0f49d552a10fc59af0a9f7ce7 (diff)
downloadgo-tangerine-6657d544db4eefec24ebd280940048f25ed85186.tar
go-tangerine-6657d544db4eefec24ebd280940048f25ed85186.tar.gz
go-tangerine-6657d544db4eefec24ebd280940048f25ed85186.tar.bz2
go-tangerine-6657d544db4eefec24ebd280940048f25ed85186.tar.lz
go-tangerine-6657d544db4eefec24ebd280940048f25ed85186.tar.xz
go-tangerine-6657d544db4eefec24ebd280940048f25ed85186.tar.zst
go-tangerine-6657d544db4eefec24ebd280940048f25ed85186.zip
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index fba61230f..23e523980 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -102,7 +102,7 @@ type XEth struct {
// register map[string][]*interface{} // TODO improve return type
// Miner agent
- agent *Agent
+ agent *miner.RemoteAgent
}
// New creates an XEth that uses the given frontend.
@@ -120,7 +120,7 @@ func New(eth Backend, frontend Frontend) *XEth {
frontend: frontend,
logs: make(map[int]*logFilter),
messages: make(map[int]*whisperFilter),
- agent: NewAgent(),
+ agent: miner.NewRemoteAgent(),
}
eth.Miner().Register(xeth.agent)
@@ -170,7 +170,7 @@ func (self *XEth) stop() {
func (self *XEth) DefaultGas() *big.Int { return defaultGas }
func (self *XEth) DefaultGasPrice() *big.Int { return defaultGasPrice }
-func (self *XEth) RemoteMining() *Agent { return self.agent }
+func (self *XEth) RemoteMining() *miner.RemoteAgent { return self.agent }
func (self *XEth) AtStateNum(num int64) *XEth {
chain := self.Backend().ChainManager()