From 2ba40269bf26502c8ab15b8bdf098f2f288d28fa Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Fri, 10 Aug 2018 13:34:04 -0400 Subject: [PATCH] code formatting --- app/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/utils.js b/app/utils.js index 183182a..4153c22 100644 --- a/app/utils.js +++ b/app/utils.js @@ -216,8 +216,9 @@ function getMinerFromCoinbaseTx(tx) { function getTxTotalInputOutputValues(tx, txInputs, blockHeight) { var totalInputValue = new Decimal(0); - if (tx.vin[0].coinbase) + if (tx.vin[0].coinbase) { totalInputValue = totalInputValue.plus(new Decimal(coinConfig.blockRewardFunction(blockHeight))); + } for (var i = 0; i < txInputs.length; i++) { var txInput = txInputs[i];