Dev Docs: RPCs: GetBlock: Correct prevblock field

The genesis block results don't return this field.
This commit is contained in:
David A. Harding 2015-10-30 10:38:36 -04:00
parent b4611c4901
commit 62f4513b40
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7

View file

@ -118,8 +118,8 @@ The `getblock` RPC {{summary_getBlock}}
- n: "→<br>`previousblockhash`"
t: "string (hex)"
p: "Required<br>(exactly 1)"
d: "The hash of the header of the previous block, encoded as hex in RPC byte order"
p: "Optional<br>(0 or 1)"
d: "The hash of the header of the previous block, encoded as hex in RPC byte order. Not returned for genesis block"
- n: "→<br>`nextblockhash`"
t: "string (hex)"