CKeyStore::AddKey must return a boolean #389

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:addkey_retval changing 1 files +1 −0
  1. laanwj commented at 1:16 PM on July 7, 2011: member

    Function should return true in case of success, currently returns nothing. This trivial patch fixes that.

  2. CKeyStore::AddKey must return a boolean 33c75fd9aa
  3. sipa commented at 1:29 PM on July 7, 2011: member

    This should have been fixed before indeed, it's only fixed in Matt's encryption branch (newenc) now.

    Also, it's not a problem as CKeyStore::AddKey() is masked by CWallet::AddKey(), which ignores the other one's result.

    If we weren't in -rc3 already, I'd ACK.

  4. jgarzik commented at 2:14 AM on July 13, 2011: contributor

    pulled wallet crypto, so, superceded

  5. jgarzik closed this on Jul 13, 2011

  6. laanwj referenced this in commit 0ffb3bd95f on Aug 4, 2016
  7. laanwj referenced this in commit b2135359b3 on Aug 16, 2016
  8. MarcoFalke referenced this in commit 64dfdde0aa on Dec 13, 2016
  9. deadalnix referenced this in commit 2c52b5d244 on Jan 19, 2017
  10. lateminer referenced this in commit 5a8e2ad20d on Oct 16, 2019
  11. rajarshimaitra referenced this in commit 9e2530356c on Aug 5, 2021
  12. DrahtBot locked this on Sep 8, 2021
Contributors

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-13 15:16 UTC

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