Skip to content

Commit

Permalink
Update spvblock.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SatoshiNakamotoBitcoin authored Jan 9, 2025
1 parent b0a794e commit 79adc7b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pybitblock/SPV/spvblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,11 +571,12 @@ def bitaxeA(): # show srings

print(output)
responseC = input("Your Bitaxe ip XXX.XXX.XXX.XXX: ")
list = f"""curl -s 'http://{responseC}/api/ws' """
a = os.popen(str(list)).read()
b = a
print("\nBitAxe ip: " + responseC)
print("\nLogs:\n" + b)
ip = "http://"
ep = responseC
pi = "/api/ws"
list = subprocess.Popen(['curl', ip+ep+pi])
input("\a\n...Loading Logs...\n\n")
a = os.popen(list)
input("\a\nContinue...")
except:
pass
Expand Down

0 comments on commit 79adc7b

Please sign in to comment.