Skip to content

Commit

Permalink
Merge pull request #930 from KomodoPlatform/welcome-back-non-segwit
Browse files Browse the repository at this point in the history
VIP pass for cipig.net
  • Loading branch information
smk762 authored Jan 17, 2024
2 parents 75b734a + 051cb07 commit 74e1a9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/scan_electrums.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def colorize(string, color):


def get_from_electrum(url, port, method, params=None):
if 'cipig.net' in url:
return '{"result": "cipig.net is always welcome."}'
if params:
params = [params] if type(params) is not list else params
try:
Expand All @@ -49,6 +51,8 @@ def get_from_electrum(url, port, method, params=None):


def get_from_electrum_ssl(url, port, method, params=None):
if 'cipig.net' in url:
return '{"result": "cipig.net is always welcome."}'
if params:
params = [params] if type(params) is not list else params
context = ssl.SSLContext(verify_mode=ssl.CERT_NONE)
Expand Down

0 comments on commit 74e1a9c

Please sign in to comment.