Skip to content

Commit

Permalink
SSL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nahuhh authored Feb 21, 2022
1 parent 203cabf commit c721198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/install-monerod-in-termux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ EOF
cat << 'EOF' > xmr_notifications
#!/data/data/com.termux/files/usr/bin/sh
sleep 7
REQ=$(curl -s http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_info"}' -H 'Content-Type: application/json')
REQ=$(curl -sk https://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_info"}' -H 'Content-Type: application/json')
LAST=$(date +%r)
if [ "$REQ" ]
then
Expand Down Expand Up @@ -433,7 +433,7 @@ func_xmrnode_install_prompt(){
fi
}
REQ=\$(curl -s http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_info"}' -H 'Content-Type: application/json')
REQ=\$(curl -sk https://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_info"}' -H 'Content-Type: application/json')
if [ "\$REQ" ]
then
DATA=\$(echo \$REQ | jq '.result')
Expand Down

0 comments on commit c721198

Please sign in to comment.