From b8b0617c342750a0ccb0bf8b5abdfce347e2b596 Mon Sep 17 00:00:00 2001 From: Sam Cheng Hung Date: Wed, 28 Mar 2018 15:55:06 +0900 Subject: [PATCH] Fix: Removes arrow function syntax due to uglify issues --- src/js/services/profileService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js index ad82bb531..c0087ca88 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -1043,7 +1043,7 @@ angular.module('copayApp.services') var walletsBtc = root.getWallets({coin: 'btc'}); var totalBtc = 0; - walletsBtc.forEach( (value, key, index) => { + walletsBtc.forEach(function(value, key, index) { totalBtc += parseFloat(value.cachedBalance); });