diff --git a/les/backend.go b/les/backend.go index bc4d0f21df2212855e5bec20ed12b47119b524bc..f0f8a6a6ecd1450bfaa41ec667cc3f06d58c39df 100644 --- a/les/backend.go +++ b/les/backend.go @@ -193,12 +193,12 @@ type LightDummyAPI struct{} // Etherbase is the address that mining rewards will be send to func (s *LightDummyAPI) Etherbase() (common.Address, error) { - return common.Address{}, fmt.Errorf("not supported") + return common.Address{}, fmt.Errorf("mining is not supported in light mode") } // Coinbase is the address that mining rewards will be send to (alias for Etherbase) func (s *LightDummyAPI) Coinbase() (common.Address, error) { - return common.Address{}, fmt.Errorf("not supported") + return common.Address{}, fmt.Errorf("mining is not supported in light mode") } // Hashrate returns the POW hashrate