good morning!!!!

Skip to content
Snippets Groups Projects
Commit 51642748 authored by Zsolt Felföldi's avatar Zsolt Felföldi Committed by Péter Szilágyi
Browse files

les: extend error message for coinbase API calls (#19380)

parent 0b4fe8d1
Branches
Tags
No related merge requests found
...@@ -193,12 +193,12 @@ type LightDummyAPI struct{} ...@@ -193,12 +193,12 @@ type LightDummyAPI struct{}
// Etherbase is the address that mining rewards will be send to // Etherbase is the address that mining rewards will be send to
func (s *LightDummyAPI) Etherbase() (common.Address, error) { 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) // Coinbase is the address that mining rewards will be send to (alias for Etherbase)
func (s *LightDummyAPI) Coinbase() (common.Address, error) { 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 // Hashrate returns the POW hashrate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment