mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
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:
parent
7b2da94750
commit
643e415448
@ -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
|
||||
# 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.
|
||||
OPTIONS_NO_LND_DEFAULT_VALUE_CHECK="adminmacaroonpath readonlymacaroonpath \
|
||||
invoicemacaroonpath rpclisten restlisten listen backupfilepath maxchansize \
|
||||
bitcoin.chaindir bitcoin.defaultchanconfs bitcoin.defaultremotedelay \
|
||||
bitcoin.dnsseed signrpc.signermacaroonpath walletrpc.walletkitmacaroonpath \
|
||||
chainrpc.notifiermacaroonpath routerrpc.routermacaroonpath"
|
||||
OPTIONS_NO_LND_DEFAULT_VALUE_CHECK="channel-max-fee-exposure adminmacaroonpath \
|
||||
readonlymacaroonpath invoicemacaroonpath rpclisten restlisten listen \
|
||||
backupfilepath maxchansize bitcoin.chaindir bitcoin.defaultchanconfs \
|
||||
bitcoin.defaultremotedelay bitcoin.dnsseed signrpc.signermacaroonpath \
|
||||
walletrpc.walletkitmacaroonpath chainrpc.notifiermacaroonpath \
|
||||
routerrpc.routermacaroonpath"
|
||||
|
||||
|
||||
# EXITCODE is returned at the end after all checks are performed and set to 1
|
||||
|
Loading…
Reference in New Issue
Block a user