mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
5d39fe8873
* use eth.backend * net_version * add coinbase to the console test
13 lines
261 B
Go
13 lines
261 B
Go
package commands
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/ledgerwatch/turbo-geth/common"
|
|
)
|
|
|
|
// Etherbase is the address that mining rewards will be send to
|
|
func (api *APIImpl) Coinbase(_ context.Context) (common.Address, error) {
|
|
return api.ethBackend.Etherbase()
|
|
}
|