From 38667302187b0c1f909121b6c905f3a4d8325958 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 1 Aug 2014 14:34:31 -0700 Subject: [PATCH] paypro: remove old code. --- js/directives.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/js/directives.js b/js/directives.js index 195338dca..c2d650b89 100644 --- a/js/directives.js +++ b/js/directives.js @@ -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(