mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 08:51:08 +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" => {
|
||||
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())
|
||||
|
|
Loading…
Reference in a new issue