Trivial: Fix obvious assignment/equality error in test #8673

pull JeremyRubin wants to merge 1 commits into bitcoin:master from JeremyRubin:fix_arith_tests_trivial changing 1 files +1 −1
  1. JeremyRubin commented at 8:56 PM on September 6, 2016: contributor

    I think this was incorrect; may as well correct it.

  2. Fix obvious assignment/equality error in test 426e7bce0e
  3. sipa commented at 8:58 PM on September 6, 2016: member

    utACK

  4. fanquake added the label Tests on Sep 7, 2016
  5. fanquake commented at 2:16 AM on September 7, 2016: member

    The Travis failure is unrelated.

    segwit.py:
    Initializing test directory /tmp/testa3q5cowz/31
    start_node: bitcoind started, waiting for RPC to come up
    start_node: RPC succesfully started
    start_node: bitcoind started, waiting for RPC to come up
    start_node: RPC succesfully started
    start_node: bitcoind started, waiting for RPC to come up
    start_node: RPC succesfully started
    Verify sigops are counted in GBT with pre-BIP141 rules before the fork
    Assertion failed: 199.99600000 != 999.980
    Stopping nodes
    Not cleaning up dir /tmp/testa3q5cowz/31
    Failed
    stderr:
       File "/home/travis/build/bitcoin/bitcoin/qa/rpc-tests/test_framework/test_framework.py", line 150, in main
        self.run_test()
      File "/home/travis/build/bitcoin/bitcoin/build/../qa/rpc-tests/segwit.py", line 166, in run_test
        assert_equal(self.nodes[2].getbalance(), 20*Decimal("49.999"))
      File "/home/travis/build/bitcoin/bitcoin/qa/rpc-tests/test_framework/util.py", line 504, in assert_equal
        raise AssertionError("%s != %s"%(str(thing1),str(thing2)))
    Pass: False, Duration: 3 s
    
  6. dcousens commented at 2:23 AM on September 7, 2016: contributor

    utACK 426e7bc

  7. MarcoFalke commented at 5:36 PM on September 7, 2016: member

    Good catch! utACK 426e7bc

  8. MarcoFalke merged this on Sep 7, 2016
  9. MarcoFalke closed this on Sep 7, 2016

  10. MarcoFalke referenced this in commit ec139a5621 on Sep 7, 2016
  11. luke-jr commented at 10:00 AM on September 10, 2016: member

    Is there any trick to make things like this case fail to compile?

  12. JeremyRubin commented at 2:43 AM on September 13, 2016: contributor

    @luke-jr I think -Wparentheses?

  13. luke-jr referenced this in commit 03b01966fa on Sep 21, 2016
  14. codablock referenced this in commit 7eddb40ce5 on Sep 19, 2017
  15. codablock referenced this in commit 13a5c83293 on Jan 9, 2018
  16. codablock referenced this in commit 3d26438bec on Jan 9, 2018
  17. lateminer referenced this in commit a638b3764c on Nov 11, 2018
  18. andvgal referenced this in commit fd4e72d4a1 on Jan 6, 2019
  19. 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-15 21:16 UTC

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