eth, eth/downloader, miner: use download events to check miner start
This commit is contained in:
@@ -42,8 +42,8 @@ func (err *UncleErr) Error() string {
|
||||
return err.Message
|
||||
}
|
||||
|
||||
func UncleError(str string) error {
|
||||
return &UncleErr{Message: str}
|
||||
func UncleError(format string, v ...interface{}) error {
|
||||
return &UncleErr{Message: fmt.Sprintf(format, v...)}
|
||||
}
|
||||
|
||||
func IsUncleErr(err error) bool {
|
||||
|
Reference in New Issue
Block a user