Merge pull request #116 from maraoz/bug/fee-grammar

feeds->fees
This commit is contained in:
Manuel Aráoz 2014-01-21 11:51:58 -08:00
commit e5d4327f94
3 changed files with 3 additions and 3 deletions

View File

@ -322,7 +322,7 @@ TransactionSchema.statics.queryInfo = function(txid, cb) {
if ( !tx.isCoinBase() ) {
info.valueIn = valueIn / util.COIN;
info.feeds = (valueIn - valueOut) / util.COIN;
info.fees = (valueIn - valueOut) / util.COIN;
}
else {
var reward = BitcoreBlock.getBlockValue(info.height) / util.COIN;

View File

@ -43,7 +43,7 @@
</tr>
<tr>
<td><strong>Fees</strong></td>
<td class="text-muted text-right">{{tx.feeds}} BTC</td>
<td class="text-muted text-right">{{tx.fees}} BTC</td>
</tr>
</tbody>
</table>

View File

@ -92,7 +92,7 @@
</button>
<button type="button" class="btn btn-primary">{{tx.valueOut}} BTC</button>
</div>
<small data-ng-show="!tx.isCoinBase" class="text-muted">Feeds: {{tx.feeds}}</small>
<small data-ng-show="!tx.isCoinBase" class="text-muted">Fees: {{tx.fees}}</small>
</div>
</div>