There is a small error for getrawtransaction in help #16013

issue debuggor opened this issue on May 12, 2019
  1. debuggor commented at 3:15 PM on May 12, 2019: none
       RPCExamples{
           HelpExampleCli("getrawtransaction", "\"mytxid\"")
           + HelpExampleCli("getrawtransaction", "\"mytxid\" true")
           + HelpExampleRpc("getrawtransaction", "\"mytxid\", true")
           + HelpExampleCli("getrawtransaction", "\"mytxid\" false \"myblockhash\"")
           + HelpExampleCli("getrawtransaction", "\"mytxid\" true \"myblockhash\"")
        },
    

    HelpExampleRpc("getrawtransaction", ""mytxid", true") should be changed to HelpExampleRpc("getrawtransaction", ""mytxid", false")

  2. fanquake added the label Docs on May 13, 2019
  3. dakk commented at 1:14 PM on May 13, 2019: none

    @debuggor can you please explain why?

  4. debuggor commented at 2:06 PM on May 13, 2019: none

    @dakk repeated for HelpExampleRpc("getrawtransaction", "\"mytxid\", true")

  5. promag commented at 2:12 PM on May 13, 2019: member

    Note HelpExampleCli vs HelpExampleRpc.

  6. debuggor commented at 2:15 PM on May 13, 2019: none

    @promag thanks, my fault,see btc code recently

  7. debuggor closed this on May 13, 2019

  8. DrahtBot locked this on Dec 16, 2021
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me