ln_pay timeout and sparkwallet testfeatures fix

This commit is contained in:
kexkey
2019-02-01 23:40:58 -05:00
committed by kexkey
parent c8480a071f
commit c004455a33
2 changed files with 6 additions and 6 deletions

View File

@@ -124,8 +124,8 @@ checksparkwallet() {
echo -en "\r\n\e[1;36mTesting Spark Wallet... " > /dev/console
local rc
rc=$(curl -s -o /dev/null -w "%{http_code}" https://gatekeeper/sparkwallet)
[ "${rc}" -ne "200" ] && return 400
rc=$(curl -s -o /dev/null -k -w "%{http_code}" https://gatekeeper/sparkwallet/)
[ "${rc}" -ne "401" ] && return 400
echo -e "\e[1;36mSpark Wallet rocks!" > /dev/console