mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
Fix issue with web bitcoin cli
This commit is contained in:
parent
bab4f8266e
commit
ca5072a63e
|
@ -47,7 +47,7 @@ def is_bitcoin_synced():
|
|||
return False
|
||||
|
||||
def run_bitcoincli_command(cmd):
|
||||
cmd = "bitcoin-cli --conf=/home/admin/.bitcoin/bitcoin.conf --datadir=/mnt/hdd/mynode/bitcoin "+cmd+"; exit 0"
|
||||
cmd = "bitcoin-cli --conf=/mnt/hdd/mynode/bitcoin/bitcoin.conf --datadir=/mnt/hdd/mynode/bitcoin "+cmd+"; exit 0"
|
||||
log_message("Running bitcoin-cli cmd: {}".format(cmd))
|
||||
try:
|
||||
results = to_string(subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True))
|
||||
|
|
Loading…
Reference in New Issue
Block a user