Consensus: add const to temp int in base58.cpp #11095

pull mdaiter wants to merge 1 commits into bitcoin:master from mdaiter:base58NuancedConst changing 1 files +1 −1
  1. mdaiter commented at 9:39 AM on August 19, 2017: none

    Just caught my eye when looking over some code. Could be a const instead of a non-const.

  2. Consensus: add const to temp int in base58.cpp 1c5b264445
  3. fanquake added the label Refactoring on Aug 19, 2017
  4. promag changes_requested
  5. promag commented at 10:31 AM on August 19, 2017: member

    There are other variables that can be const all over the code, and in this file too.

    You could improve the description and commit message.

    As is NACK.

  6. laanwj commented at 8:03 AM on August 21, 2017: member

    We don't regularly use const inside functions at all. Maybe we should, but right now I don't think there is any reasoning why this value in base58 would be extra-important to warrant this change, sorry.

  7. laanwj closed this on Aug 21, 2017

  8. mdaiter deleted the branch on Sep 3, 2017
  9. DrahtBot 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-22 06:15 UTC

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