settings: fix references to unitToSatoshi
This commit is contained in:
parent
0fe4778637
commit
7c582f4bd5
3 changed files with 8 additions and 5 deletions
|
|
@ -4,6 +4,8 @@ var bitcore = require('bitcore');
|
|||
angular.module('copayApp.controllers').controller('TransactionsController',
|
||||
function($scope, $rootScope, $timeout, controllerUtils, notification) {
|
||||
|
||||
var w = $rootScope.wallet;
|
||||
|
||||
$scope.title = 'Transactions';
|
||||
$scope.loading = false;
|
||||
$scope.lastShowed = false;
|
||||
|
|
@ -12,7 +14,7 @@ angular.module('copayApp.controllers').controller('TransactionsController',
|
|||
$scope.txpItemsPerPage = 4;
|
||||
$scope.blockchain_txs = [];
|
||||
|
||||
var satToUnit = 1 / config.unitToSatoshi;
|
||||
var satToUnit = 1 / w.settings.unitToSatoshi;
|
||||
|
||||
$scope.update = function() {
|
||||
$scope.loading = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue