Correct error message in handleGetWorkSubmission.
Found by go vet.
This commit is contained in:
parent
b6af0a7a53
commit
342d0a536f
1 changed files with 1 additions and 1 deletions
|
@ -1743,7 +1743,7 @@ func handleGetWorkSubmission(s *rpcServer, hexData string) (interface{}, error)
|
||||||
if _, ok := err.(btcchain.RuleError); !ok {
|
if _, ok := err.(btcchain.RuleError); !ok {
|
||||||
return false, btcjson.Error{
|
return false, btcjson.Error{
|
||||||
Code: btcjson.ErrInternal.Code,
|
Code: btcjson.ErrInternal.Code,
|
||||||
Message: fmt.Sprintf("Unexpected error while",
|
Message: fmt.Sprintf("Unexpected error while "+
|
||||||
"processing block: %v", err),
|
"processing block: %v", err),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue