Warn instead an error
This commit is contained in:
parent
31029bc17a
commit
b53c58f8b8
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ angular.module('copayApp.services').factory('addressbookService', function($log,
|
||||||
try {
|
try {
|
||||||
network = (new bitcore.Address(address)).network.name;
|
network = (new bitcore.Address(address)).network.name;
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
$log.error('No valid bitcoin address. Trying bitcoin cash...');
|
$log.warn('No valid bitcoin address. Trying bitcoin cash...');
|
||||||
network = (new bitcoreCash.Address(address)).network.name;
|
network = (new bitcoreCash.Address(address)).network.name;
|
||||||
}
|
}
|
||||||
return network;
|
return network;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue