changed rpc error message to Still Syncing, when mining is not ready
This commit is contained in:
parent
7610d308e8
commit
dac387fac1
@ -225,7 +225,7 @@ fn make_unsupported_err() -> Error {
|
|||||||
fn no_work_err() -> Error {
|
fn no_work_err() -> Error {
|
||||||
Error {
|
Error {
|
||||||
code: ErrorCode::ServerError(NO_WORK_CODE),
|
code: ErrorCode::ServerError(NO_WORK_CODE),
|
||||||
message: "Mining not ready.".into(),
|
message: "Still syncing.".into(),
|
||||||
data: None
|
data: None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user