Mempool variable bug (#508)

In last commit MEMPOOL_UPGRADE_URL changed to MEMPOOL_URL and because of that mempool upgrade function stopped working
This commit is contained in:
horviskoadrianko 2021-04-10 23:23:57 +02:00 committed by GitHub
parent c0d22a1cb5
commit 70bd8177c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,8 @@ while true; do
fi
# Upgrade mempool
MEMPOOL_URL=https://github.com/mempool/mempool/archive/${MEMPOOL_VERSION}.tar.gz
MEMPOOL_URL_FILE=/mnt/hdd/mynode/settings/mempoolspace_url
MEMPOOL_UPGRADE_URL=https://github.com/mempool/mempool/archive/${MEMPOOL_VERSION}.tar.gz
MEMPOOL_UPGRADE_URL_FILE=/mnt/hdd/mynode/settings/mempoolspace_url
echo "Checking for new mempool..."
CURRENT=""
if [ -f $MEMPOOL_UPGRADE_URL_FILE ]; then