[QA] Fix typo in fundrawtransaction test #10069

pull NicolasDorier wants to merge 1 commits into bitcoin:master from NicolasDorier:patch-3 changing 1 files +1 −1
  1. NicolasDorier commented at 10:10 AM on March 24, 2017: contributor
  2. [QA] Fix typo in fundrawtransaction test
    Ping @jnewbery introduced on https://github.com/bitcoin/bitcoin/commit/dab804c18a427901684ebe936b2069a97e04a268
    803e6a3503
  3. fanquake added the label Tests on Mar 24, 2017
  4. laanwj commented at 11:45 AM on March 24, 2017: member

    I don't get it, how did this typo pass the tests?

  5. NicolasDorier commented at 11:48 AM on March 24, 2017: contributor

    @laanwj becuse rawtx is an actual variable used above, which is planned to fail with this reason.

  6. laanwj commented at 11:53 AM on March 24, 2017: member

    Oh wow. Two variables with the same name and different casing, this is confusing.

  7. jnewbery commented at 12:41 PM on March 24, 2017: member

    ouch. Mea culpa. Good spot @NicolasDorier.

    Tested ACK 803e6a35037e7371f767585fec36ba17bdd36f4a

  8. laanwj commented at 12:49 PM on March 24, 2017: member

    I think the underlying problem should be solved too. We shouldn't use rawTx and rawtx in a single function, this is the code equivalent of a minefield.

  9. MarcoFalke commented at 1:14 PM on March 24, 2017: member

    utACK 803e6a3. Agree that the underlying problem should be solved as well. As a first step you can get rid of the camelCase and use a single name for the variable. In a second step, the scopes could be limited to the minimum necessary. (Maybe refactor the blocks into separate functions?)

  10. jonasschnelli commented at 1:15 PM on March 24, 2017: contributor

    utACK 803e6a35037e7371f767585fec36ba17bdd36f4a

  11. sipa commented at 8:42 PM on March 24, 2017: member

    utACK

  12. dcousens approved
  13. MarcoFalke commented at 3:10 PM on March 25, 2017: member

    This has too much review to keep open any longer. Lets do the follow up cleanup in separate pulls.

  14. MarcoFalke merged this on Mar 25, 2017
  15. MarcoFalke closed this on Mar 25, 2017

  16. MarcoFalke referenced this in commit 111849345b on Mar 25, 2017
  17. NicolasDorier commented at 5:48 AM on March 26, 2017: contributor
  18. PastaPastaPasta referenced this in commit 842c72113a on Mar 14, 2019
  19. PastaPastaPasta referenced this in commit 565a89400e on May 20, 2019
  20. PastaPastaPasta referenced this in commit 1781c7a701 on May 21, 2019
  21. PastaPastaPasta referenced this in commit 93330de5c2 on May 21, 2019
  22. barrystyle referenced this in commit 1ed5d81112 on Jan 22, 2020
  23. 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-17 09:15 UTC

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