fix: joininbox update, hide jm api error from lcd (#3801)

* fix: hide jm api error from lcd

* joininbox update to v0.7.8
This commit is contained in:
openoms 2023-05-08 19:56:42 +01:00 committed by GitHub
parent 029525ab4d
commit 7a2dfd9232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ ${color_yellow}${ln_publicColor}${ln_external}${color_gray}"
if [ "${joinmarket}" = "on" ];then
# show JoinMarket stats in place of the LND URI only if the Yield Generator is running
if [ "$(sudo -u joinmarket pgrep -f "yg-privacyenhanced.py" 2>/dev/null | wc -l)" -gt 2 ] || \
[ "$(curl -ksX GET https://127.0.0.1:28183/api/v1/session | jq .maker_running)" = true ]; then
[ "$(curl -ksX GET https://127.0.0.1:28183/api/v1/session | jq .maker_running 2>/dev/null)" = true ]; then
trap 'rm -f "$JMstats"' EXIT
JMstats=$(mktemp -p /dev/shm)

View File

@ -6,7 +6,7 @@
# https://github.com/openoms/joininbox
# https://github.com/openoms/joininbox/tags
JBTAG="v0.7.7" # installs JoinMarket v0.9.9
JBTAG="v0.7.8" # installs JoinMarket v0.9.9
# command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then