Get protocol handler from walletService
This commit is contained in:
parent
34fb28d389
commit
779d21e9e9
5 changed files with 18 additions and 2 deletions
|
|
@ -1232,5 +1232,10 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
});
|
||||
};
|
||||
|
||||
root.getProtocolHandler = function(wallet) {
|
||||
if (wallet.coin== 'bch') return 'bitcoincash';
|
||||
else return 'bitcoin';
|
||||
}
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue