Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
feat(BCH): bch websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Dec 13, 2017
1 parent 9833eba commit 335bfa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ angular
.module('walletApp')
.controller('bitcoinCashTransactionsCtrl', bitcoinCashTransactionsCtrl);

function bitcoinCashTransactionsCtrl ($rootScope, $scope, $translate, $state, $q, $uibModal, localStorageService, ShapeShift, AngularHelper, smartAccount, MyWallet, Wallet, BitcoinCash, Ethereum, modals) {
function bitcoinCashTransactionsCtrl ($scope, $translate, $state, $q, $uibModal, localStorageService, ShapeShift, AngularHelper, smartAccount, MyWallet, Wallet, BitcoinCash, Ethereum, modals) {
$scope.addressBook = Wallet.addressBook;
$scope.status = Wallet.status;
$scope.settings = Wallet.settings;
Expand Down Expand Up @@ -135,5 +135,5 @@ function bitcoinCashTransactionsCtrl ($rootScope, $scope, $translate, $state, $q
};

$scope.$watch('filterBy.account', setTxs);
$rootScope.$on('refresh', setTxs);
$scope.$watch(() => BitcoinCash.txs, (txs) => setTxs(), true);
}
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ app.use(function (req, res, next) {
rootURL,
(webSocketURL || 'wss://ws.blockchain.info'),
(webSocketURL || 'wss://ws.blockchain.info/inv').replace('/inv', '/eth/inv'),
(webSocketURL || 'wss://ws.blockchain.info/inv').replace('/inv', '/bch/inv'),
(apiDomain || 'https://api.blockchain.info'),
'https://api.sfox.com',
'https://shapeshift.io',
Expand Down

0 comments on commit 335bfa5

Please sign in to comment.