do not cache total in current unit

This commit is contained in:
Ivan Socolsky 2014-12-19 16:44:59 -03:00
commit 553b0fca0d
2 changed files with 1 additions and 3 deletions

View file

@ -1798,8 +1798,6 @@ Wallet.prototype._addOutputsToMerchantData = function(merchantData) {
if (merchantData.total == "0" && options.amount) {
merchant.outs[0].amountSatStr = merchantData.total = options.amount;
}
merchantData.unitTotal = merchantData.total ? (+merchantData.total / this.settings.unitToSatoshi) + '' : 0;
};
/**