HomePhabricator

RPC: remove duplicate line in getblock help

Description

RPC: remove duplicate line in getblock help

Summary: This is a backport of core#20064

Test Plan:
Before:

$ src/bitcoin-cli help getblock
...
Result (for verbosity = 2):
{             (json object)
  ...,        Same output as verbosity = 1
  "tx" : [    (json array)
    {         (json object)
      ...     The transactions in the format of the getrawtransaction RPC. Different from verbosity = 1 "tx" result
    },
    ...
  ],
  ...         Same output as verbosity = 1
}

After:

$ src/bitcoin-cli help getblock
...
Result (for verbosity = 2):
{             (json object)
  ...,        Same output as verbosity = 1
  "tx" : [    (json array)
    {         (json object)
      ...     The transactions in the format of the getrawtransaction RPC. Different from verbosity = 1 "tx" result
    },
    ...
  ]
}

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D10428

Details

Provenance
Fabian Jahr <fjahr@protonmail.com>Authored on Oct 2 2020, 22:22
PiRKCommitted on Nov 3 2021, 07:17
PiRKPushed on Nov 3 2021, 07:17
Reviewer
Restricted Project
Differential Revision
D10428: RPC: remove duplicate line in getblock help
Parents
rABC1b705e9c2670: util: Do not use gArgs global in ArgsManager member functions
Branches
Unknown
Tags
Unknown