scripts: dont check new config value.

Because we need to remain backwards compatible with the old
`dust-threshold` value we set the default value for
`channel-max-fee-exposure` later in the program flow. Given
the restrictions of the sample config check we need to exclude
this value from the check.
This commit is contained in:
ziggie 2024-11-06 18:34:00 +01:00
parent 7b2da94750
commit 643e415448
No known key found for this signature in database
GPG Key ID: 1AFF9C4DCED6D666

View File

@ -54,11 +54,12 @@ OPTIONS_NO_CONF="help lnddir configfile version end"
# OPTIONS_NO_LND_DEFAULT_VALUE_CHECK is a list of options with default values # OPTIONS_NO_LND_DEFAULT_VALUE_CHECK is a list of options with default values
# set, but there aren't any returned defaults by lnd --help. Defaults have to be # set, but there aren't any returned defaults by lnd --help. Defaults have to be
# included in sample-lnd.conf but no further checks are performed. # included in sample-lnd.conf but no further checks are performed.
OPTIONS_NO_LND_DEFAULT_VALUE_CHECK="adminmacaroonpath readonlymacaroonpath \ OPTIONS_NO_LND_DEFAULT_VALUE_CHECK="channel-max-fee-exposure adminmacaroonpath \
invoicemacaroonpath rpclisten restlisten listen backupfilepath maxchansize \ readonlymacaroonpath invoicemacaroonpath rpclisten restlisten listen \
bitcoin.chaindir bitcoin.defaultchanconfs bitcoin.defaultremotedelay \ backupfilepath maxchansize bitcoin.chaindir bitcoin.defaultchanconfs \
bitcoin.dnsseed signrpc.signermacaroonpath walletrpc.walletkitmacaroonpath \ bitcoin.defaultremotedelay bitcoin.dnsseed signrpc.signermacaroonpath \
chainrpc.notifiermacaroonpath routerrpc.routermacaroonpath" walletrpc.walletkitmacaroonpath chainrpc.notifiermacaroonpath \
routerrpc.routermacaroonpath"
# EXITCODE is returned at the end after all checks are performed and set to 1 # EXITCODE is returned at the end after all checks are performed and set to 1