Skip to content

Commit

Permalink
Fix duplilcate check
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Oct 19, 2020
1 parent dff15a6 commit 0185077
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/utils/uris.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ export const parseZcashURI = (uri: string): ZcashURITarget[] | string => {
}

const parsedUri = url.parse(uri);
if (!parsedUri || parsedUri.protocol !== 'zcash:' || !parsedUri.query) {
return 'Bad URI';
}

if (!parsedUri || parsedUri.protocol !== 'zcash:' || !parsedUri.query) {
return 'Invalid URI or protocol';
}
Expand Down

0 comments on commit 0185077

Please sign in to comment.