daemon-rpc: target_height is 0 if synced

This commit is contained in:
erciccione 2021-01-16 17:38:29 +00:00
parent b3b042c1a4
commit efdec41923
No known key found for this signature in database
GPG key ID: 762AF8C608E56CDF

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: