Fix lockunspent help message #7646

pull promag wants to merge 1 commits into bitcoin:master from uphold:support/fix-lockunspent-help-message changing 1 files +3 −2
  1. promag commented at 11:55 PM on March 4, 2016: member

    Current implementation allows the second parameter to be optional. In that case, and if unlock is true, all locked coins are unlocked.

  2. sipa commented at 3:33 AM on March 5, 2016: member

    utACK

  3. jonasschnelli added the label Wallet on Mar 6, 2016
  4. jonasschnelli commented at 3:16 AM on March 6, 2016: contributor

    utACK

  5. promag renamed this:
    Fix lockunspents help message
    Fix lockunspent help message
    on Mar 6, 2016
  6. MarcoFalke commented at 1:01 PM on March 6, 2016: member

    utACK cf23442

  7. in src/wallet/rpcwallet.cpp:None in cf23442b29 outdated
    2139 |  
    2140 | -    if (params.size() == 1)
    2141 | -        RPCTypeCheck(params, boost::assign::list_of(UniValue::VBOOL));
    2142 | -    else
    2143 | -        RPCTypeCheck(params, boost::assign::list_of(UniValue::VBOOL)(UniValue::VARR));
    2144 | +    RPCTypeCheck(params, boost::assign::list_of(UniValue::VBOOL)(UniValue::VARR), true);
    


    laanwj commented at 6:06 PM on March 7, 2016:

    This is not correct, I think. Setting fAllowNull to true is different to allowing one or two arguments.

  8. laanwj commented at 2:19 PM on March 23, 2016: member

    Can you change this to just modify the help message, as the title implies?

  9. promag force-pushed on Mar 23, 2016
  10. Fix lockunspents help message df9e9233dc
  11. promag force-pushed on Mar 23, 2016
  12. promag commented at 3:45 PM on March 23, 2016: member

    @laanwj fixed and rebased.

  13. laanwj merged this on Mar 23, 2016
  14. laanwj closed this on Mar 23, 2016

  15. laanwj referenced this in commit e5c35119e9 on Mar 23, 2016
  16. codablock referenced this in commit 9618fc40fe on Sep 16, 2017
  17. codablock referenced this in commit c3f38068b4 on Sep 19, 2017
  18. codablock referenced this in commit 7653c7f9ae on Dec 9, 2017
  19. codablock referenced this in commit a4911c383b on Dec 19, 2017
  20. MarcoFalke locked this on Sep 8, 2021

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-21 15:15 UTC

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