WIP factor out config processing

This commit is contained in:
lash 2022-05-11 18:25:46 +00:00
parent c739652203
commit 98ecf91adc
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 6 additions and 0 deletions

View File

@ -359,6 +359,12 @@ def process_config(config, arg, args, flags):
config.censor('PASSPHRASE', 'WALLET')
config.dict_override(args_override, 'cli args', allow_empty=True)
if arg.match('provider', flags):
config.add(getattr(args, 'height'), '_HEIGHT')
#if flags & (Flag.PROVIDER | Flag.NO_TARGET) == Flag.PROVIDER:
# config.add(getattr(args, 'height'), '_HEIGHT')
config.process()
return config