From f49316329d532954d1361ee2d34a3b83095e6a1e Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Tue, 28 Feb 2017 06:27:36 +0000 Subject: [PATCH] fix: unitialized total_received_unlocked --- html/js/controllers/account.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/html/js/controllers/account.js b/html/js/controllers/account.js index cc57a84..44b6266 100755 --- a/html/js/controllers/account.js +++ b/html/js/controllers/account.js @@ -34,6 +34,8 @@ thinwalletCtrls.controller('AccountCtrl', function($scope, $rootScope, $http, $q $scope.balance = JSBigInt.ZERO; $scope.locked_balance = JSBigInt.ZERO; $scope.total_received = JSBigInt.ZERO; + $scope.received_unlocked = JSBigInt.ZERO; + $scope.total_received_unlocked = JSBigInt.ZERO; $scope.total_sent = JSBigInt.ZERO; $scope.address = AccountService.getAddress(); $scope.view_key = $scope.viewkey = AccountService.getViewKey(); @@ -96,6 +98,8 @@ thinwalletCtrls.controller('AccountCtrl', function($scope, $rootScope, $http, $q $scope.balance = JSBigInt.ZERO; $scope.locked_balance = JSBigInt.ZERO; $scope.total_received = JSBigInt.ZERO; + $scope.total_received_unlocked = JSBigInt.ZERO; + $scope.received_unlocked = JSBigInt.ZERO; $scope.total_sent = JSBigInt.ZERO; } });