1
0

add pay_invoice menu item

This commit is contained in:
ThomasV
2014-06-12 15:35:46 +02:00
parent 4e1068b343
commit 503fd99cdb
2 changed files with 16 additions and 0 deletions

View File

@@ -141,6 +141,8 @@ class PaymentRequest:
with open(filename,'r') as f:
r = f.read()
assert key == bitcoin.sha256(r)[0:16].encode('hex')
self.id = key
self.parse(r)