commit 22575b976084cc1accd78c43c0f335b14e8945b0
parent 171363aa86bfead76f94e4ac9210dcdeb18b96ef
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 23 Oct 2015 11:20:32 +0200
dont accept payment requests without uri
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/electrum b/electrum
@@ -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)