mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Change error 32701 to 32000 (#1282)
This commit is contained in:
parent
a1bd593800
commit
bac6e813bb
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ impl StratumServer {
|
||||||
"getjobtemplate" => {
|
"getjobtemplate" => {
|
||||||
if self.sync_state.is_syncing() {
|
if self.sync_state.is_syncing() {
|
||||||
let e = RpcError {
|
let e = RpcError {
|
||||||
code: -32701,
|
code: -32000,
|
||||||
message: "Node is syncing - Please wait".to_string(),
|
message: "Node is syncing - Please wait".to_string(),
|
||||||
};
|
};
|
||||||
Err(serde_json::to_value(e).unwrap())
|
Err(serde_json::to_value(e).unwrap())
|
||||||
|
|
Loading…
Reference in a new issue