rpcserver: Correct getblockheader result text.

The getblockheader RPC with a verbose parameter of false returns the
serialized header not its hash.
This commit is contained in:
Dave Collins 2018-03-01 18:50:42 -06:00
parent 5f7cd6c46b
commit 621362ea8b
No known key found for this signature in database
GPG Key ID: B8904D9D9C93D1F2

View File

@ -315,7 +315,7 @@ var helpDescsEnUS = map[string]string{
"getblockheader-verbose": "Specifies the block header is returned as a JSON object instead of hex-encoded string",
"getblockheader--condition0": "verbose=false",
"getblockheader--condition1": "verbose=true",
"getblockheader--result0": "The block header hash",
"getblockheader--result0": "The serialized block header.",
// GetBlockHeaderVerboseResult help.
"getblockheaderverboseresult-hash": "The hash of the block (same as provided)",