Not using data if it is for the testnet.
This commit is contained in:
parent
529bdf3386
commit
e6fba98af9
2 changed files with 8 additions and 4 deletions
|
|
@ -113,7 +113,7 @@ angular.module('copayApp.controllers').controller('tabScanController', function(
|
|||
contents = contents.result || contents;
|
||||
|
||||
var parsed = bitcoinUriService.parse(contents);
|
||||
if (parsed.isValid) {
|
||||
if (parsed.isValid && !parsed.testnet) {
|
||||
incomingData.redir(contents);
|
||||
} else {
|
||||
var title = gettextCatalog.getString('Scan Failed');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue