paypro: remove old code.

This commit is contained in:
Christopher Jeffrey 2014-08-01 14:34:31 -07:00 committed by Manuel Araoz
parent 4130980133
commit 3866730218
1 changed files with 1 additions and 10 deletions

View File

@ -34,15 +34,6 @@ angular.module('copayApp.directives')
});
}
// XXX good
// total = bignum
// .fromBuffer(total, {
// endian: 'little',
// size: 1
// })
// .div(config.unitToSatoshi)
// .toString(10);
total = bignum
.fromBuffer(total, {
endian: 'little',
@ -50,7 +41,7 @@ angular.module('copayApp.directives')
})
.toString(10);
// XXX bad
// XXX There needs to be a better way to do this:
total = +total / config.unitToSatoshi;
var amount = angular.element(