Merge pull request #1425

daemon-rpc: target_height is 0 if synced
This commit is contained in:
luigi1111 2021-03-15 17:31:31 -04:00 committed by GitHub
commit 443d68cc2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1108,7 +1108,7 @@ Outputs:
* *speed* - unsigned int; connection speed
* *start_block_height* - unsigned int; block height of the first block in that span
* *status* - string; General RPC error code. "OK" means everything looks good.
* *target_height* - unsigned int; target height the node is syncing from (will be undefined if node is fully synced)
* *target_height* - unsigned int; target height the node is syncing from (will be 0 if node is fully synced)
Example: