Change error 32701 to 32000 (#1282)
This commit is contained in:
committed by
Ignotus Peverell
parent
a1bd593800
commit
bac6e813bb
@@ -328,7 +328,7 @@ impl StratumServer {
|
||||
"getjobtemplate" => {
|
||||
if self.sync_state.is_syncing() {
|
||||
let e = RpcError {
|
||||
code: -32701,
|
||||
code: -32000,
|
||||
message: "Node is syncing - Please wait".to_string(),
|
||||
};
|
||||
Err(serde_json::to_value(e).unwrap())
|
||||
|
||||
Reference in New Issue
Block a user