Removed a duplicated identical if #1881

pull xanatos wants to merge 1 commits into bitcoin:master from xanatos:Tests changing 1 files +6 −7
  1. xanatos commented at 1:58 PM on September 28, 2012: none

    There are two equal ifs, one inside another. If the first one is true, then the second one is true.

    As the code was before, toHTML added empty elements to mapValue to check for their existance. Now first it check for their existance and then for their non-emptiness.

    This is the second try... The first time git ate my homework :-)

  2. toHTML won't add empty wtx.mapValue elements
    As the code was before, toHTML added empty elements to mapValue to check for their existance. Now first it check for their existance and then for their non-emptiness.
    
    Removed a duplicated identical if
    
    There are two equal ifs, one inside another. If the first one is true, then the second one is true.
    50e01ee620
  3. laanwj commented at 4:11 PM on September 28, 2012: member

    ACK, I suppose this is a good start.

    Ideally, toHTML should take a const CWalletTx &wtx to prevent it from making any change. The current state is lazyness from my side, I just copied toHTML from Satoshi's UI code.

  4. BitcoinPullTester commented at 11:53 PM on September 28, 2012: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/50e01ee620458a7204c234697efeab1c137018b9 for binaries and test log.

  5. laanwj referenced this in commit f72fd0e792 on Sep 29, 2012
  6. laanwj merged this on Sep 29, 2012
  7. laanwj closed this on Sep 29, 2012

  8. KolbyML referenced this in commit 5d66d5c296 on Dec 5, 2020
  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-29 03:16 UTC

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