test: Always clear reject reason in IsStandard tx test #22860

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2109-testRej changing 1 files +49 −71
  1. MarcoFalke commented at 7:42 AM on September 2, 2021: member

    For some tests the reject reason wasn't cleared between runs and thus subsequent tests might (theoretically) fail to verify the correct reject reason.

  2. test: Always clear reject reason in IsStandard tx test fa1b08eb14
  3. fanquake added the label Tests on Sep 2, 2021
  4. ShubhamPalriwala approved
  5. ShubhamPalriwala commented at 1:14 PM on September 2, 2021: contributor

    Approach Ack fa1b08eb1413d547b5e322f20e6907b2f827a162 Introducing 2 separate functions to handle the manual logic is a great way to go ahead and follow the DRY principle in our codebase!

  6. benthecarman approved
  7. benthecarman commented at 8:22 PM on September 2, 2021: contributor

    ACK fa1b08eb1413d547b5e322f20e6907b2f827a162

  8. theStack approved
  9. theStack commented at 3:36 PM on September 3, 2021: member

    Code-review ACK fa1b08eb1413d547b5e322f20e6907b2f827a162

    Nice improvement 🎉

  10. MarcoFalke merged this on Sep 3, 2021
  11. MarcoFalke closed this on Sep 3, 2021

  12. MarcoFalke deleted the branch on Sep 3, 2021
  13. sidhujag referenced this in commit df2f1eea57 on Sep 4, 2021
  14. DrahtBot locked this on Sep 3, 2022

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