- There are 2 variables nFees and nTxFee for no reason.
- "nValueIn < tx.GetValueOut()" is equivalent to "nValueIn - tx.GetValueOut() < 0".
- "!MoneyRange(nFees)" repeats "nFees < 0" check: replace with "nFees > MAX_MONEY".
- Don't call tx.GetValueOut() in 3 places.
Small improvements in main::CheckInputs() #5402
pull jtimon wants to merge 1 commits into bitcoin:master from jtimon:checkinputs changing 1 files +5 −10-
jtimon commented at 11:46 PM on December 1, 2014: contributor
-
Small improvements in main::CheckInputs() 433e23b480
- jtimon closed this on Dec 2, 2014
- MarcoFalke locked this on Sep 8, 2021
Contributors