From a2355110a89fdd8ec05d774f7170d22caccc0337 Mon Sep 17 00:00:00 2001 From: Zsolt Felfoldi Date: Wed, 3 Apr 2019 01:25:05 +0200 Subject: [PATCH] les: changed error message for Coinbase/Etherbase API call --- les/backend.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/les/backend.go b/les/backend.go index bc4d0f21df..f0f8a6a6ec 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