From 62f4513b40ebb1b7f797acbfea3497fed3a78b43 Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Fri, 30 Oct 2015 10:38:36 -0400 Subject: [PATCH] Dev Docs: RPCs: GetBlock: Correct prevblock field The genesis block results don't return this field. --- _includes/devdoc/bitcoin-core/rpcs/rpcs/getblock.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblock.md b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblock.md index e6d7c87e..dd1c73d6 100644 --- a/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblock.md +++ b/_includes/devdoc/bitcoin-core/rpcs/rpcs/getblock.md @@ -118,8 +118,8 @@ The `getblock` RPC {{summary_getBlock}} - n: "→
`previousblockhash`" t: "string (hex)" - p: "Required
(exactly 1)" - d: "The hash of the header of the previous block, encoded as hex in RPC byte order" + p: "Optional
(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: "→
`nextblockhash`" t: "string (hex)"