Page MenuHomePhabricator

RPC: remove duplicate line in getblock help
ClosedPublic

Authored by PiRK on Nov 2 2021, 15:52.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABCbdee6e23b30e: 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
    },
    ...
  ]
}