aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-09 22:03:04 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-09 22:03:04 +0800
commitdda5af0e6ca3059649ff2ee36b92ab5acff20677 (patch)
tree6711f0644ab912368fbfe38527559189043577a3 /eth/backend.go
parent8b5b635db7437b87259e10c442f6020443c07f47 (diff)
downloadgo-tangerine-dda5af0e6ca3059649ff2ee36b92ab5acff20677.tar
go-tangerine-dda5af0e6ca3059649ff2ee36b92ab5acff20677.tar.gz
go-tangerine-dda5af0e6ca3059649ff2ee36b92ab5acff20677.tar.bz2
go-tangerine-dda5af0e6ca3059649ff2ee36b92ab5acff20677.tar.lz
go-tangerine-dda5af0e6ca3059649ff2ee36b92ab5acff20677.tar.xz
go-tangerine-dda5af0e6ca3059649ff2ee36b92ab5acff20677.tar.zst
go-tangerine-dda5af0e6ca3059649ff2ee36b92ab5acff20677.zip
eth, miner: move the public miner api into eth to access etherbase
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 352522f61..752a561d4 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -274,7 +274,7 @@ func (s *Ethereum) APIs() []rpc.API {
}, {
Namespace: "eth",
Version: "1.0",
- Service: miner.NewPublicMinerAPI(s.Miner()),
+ Service: NewPublicMinerAPI(s),
Public: true,
}, {
Namespace: "eth",