Update spvblock.py

This commit is contained in:
Satoshi Nakamoto 2024-07-03 22:33:05 +02:00 committed by GitHub
parent 4aead9a549
commit 13cf33ec17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -732,7 +732,7 @@ def wallPhoenix():
os.system(f"curl -X 'POST' 'http://localhost:9740/createinvoice' -u :{responseC} -d 'description={responseD}' -d 'amountSat={responseE}'")
input("\a\nContinue...")
except:
pass
menuSelection()
def wallPhoenixBOLT12():
try:
@ -742,10 +742,10 @@ def wallPhoenixBOLT12():
"PhoenixD BOLT12 Maker", colors=['yellow'], align='left', font='tiny'
)
responseC = input("Your PhoenixD Password: ")
os.system(f"curl -X 'POST' 'http://localhost:9740/getoffer' -u :{responseC}")
os.system(f"curl -s 'http://localhost:9740/getoffer' -u :{responseC}")
input("\a\nContinue...")
except:
pass
menuSelection()
#----------------------------------------------------------------------PhoenixEnd
#-----------------------------Stats--------------------------------