peer checking againt by key ring
This commit is contained in:
parent
da59c3666b
commit
e88dc7afb3
9 changed files with 199 additions and 138 deletions
|
|
@ -73,13 +73,15 @@ angular.module('copay.transactions').controller('TransactionsController',
|
|||
|
||||
$scope.getTransactions = function() {
|
||||
var w =$rootScope.wallet;
|
||||
var addresses = w.getAddressesStr();
|
||||
if (w) {
|
||||
var addresses = w.getAddressesStr();
|
||||
|
||||
if (addresses.length > 0) {
|
||||
w.blockchain.getTransactions(addresses, function(txs) {
|
||||
$scope.blockchain_txs = txs;
|
||||
$rootScope.$digest();
|
||||
});
|
||||
if (addresses.length > 0) {
|
||||
w.blockchain.getTransactions(addresses, function(txs) {
|
||||
$scope.blockchain_txs = txs;
|
||||
$rootScope.$digest();
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue