load-utxo-set should check for pruning
This commit is contained in:
@@ -28,6 +28,14 @@ if ! [[ "$NBITCOIN_NETWORK" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! [[ "$BTCPAYGEN_ADDITIONAL_FRAGMENTS" == *"opt-save-storage"* ]]; then
|
||||
echo "Pruning must be enabled, please update BTCPAYGEN_ADDITIONAL_FRAGMENTS by running:"
|
||||
echo ""
|
||||
echo 'BTCPAYGEN_ADDITIONAL_FRAGMENTS="$BTCPAYGEN_ADDITIONAL_FRAGMENTS;opt-save-storage-s"'
|
||||
echo '. btcpay-setup -i'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
TAR_FILE="$1"
|
||||
|
||||
if ! [[ "$UTXO_DOWNLOAD_LINK" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user