aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-23 18:14:42 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-23 18:14:42 +0800
commit439481d177aa6d19ef0254e4e4e0d5a39a8ff09a (patch)
treee0df1c71fc9465cb795482088d4702c490b6b1cb /xeth/xeth.go
parent01c0ba22ae597a43be4e06e590175cf6c4dacde1 (diff)
downloadgo-tangerine-439481d177aa6d19ef0254e4e4e0d5a39a8ff09a.tar
go-tangerine-439481d177aa6d19ef0254e4e4e0d5a39a8ff09a.tar.gz
go-tangerine-439481d177aa6d19ef0254e4e4e0d5a39a8ff09a.tar.bz2
go-tangerine-439481d177aa6d19ef0254e4e4e0d5a39a8ff09a.tar.lz
go-tangerine-439481d177aa6d19ef0254e4e4e0d5a39a8ff09a.tar.xz
go-tangerine-439481d177aa6d19ef0254e4e4e0d5a39a8ff09a.tar.zst
go-tangerine-439481d177aa6d19ef0254e4e4e0d5a39a8ff09a.zip
Rename Agent to RemoteAgent
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..5faeeb766 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 *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: 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() *RemoteAgent { return self.agent }
func (self *XEth) AtStateNum(num int64) *XEth {
chain := self.Backend().ChainManager()