dont accept payment requests without uri

This commit is contained in:
ThomasV 2015-10-23 11:20:32 +02:00
parent 171363aa86
commit 22575b9760
1 changed files with 0 additions and 3 deletions

View File

@ -462,9 +462,6 @@ if __name__ == '__main__':
# check uri
uri = config_options.get('url')
if uri:
if os.path.exists(uri):
# assume this is a payment request
uri = "bitcoin:?r=file://"+ os.path.join(os.getcwd(), uri)
if not re.match('^bitcoin:', uri):
print_stderr('unknown command:', uri)
sys.exit(1)