Browse Source

code formatting

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
2ba40269bf
  1. 3
      app/utils.js

3
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];

Loading…
Cancel
Save