eth, miner: move the public miner api into eth to access etherbase

This commit is contained in:
Péter Szilágyi
2016-02-09 16:03:04 +02:00
parent 8b5b635db7
commit dda5af0e6c
3 changed files with 53 additions and 76 deletions

View File

@ -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",