mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-23 14:24:26 +01:00
ln_pay timeout and sparkwallet testfeatures fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user