mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-21 06:48:12 +00:00
Merge pull request #1793 from gnattishness/config-readme
[Minor] Fix config readme example to not assign a return value.
This commit is contained in:
commit
5b2a08b717
@ -12,7 +12,7 @@ configs_path = 'configs/'
|
||||
from eth2spec.config import config_util
|
||||
from eth2spec.phase0 import spec
|
||||
from importlib import reload
|
||||
my_presets = config_util.prepare_config(configs_path, 'mainnet')
|
||||
config_util.prepare_config(configs_path, 'mainnet')
|
||||
# reload spec to make loaded config effective
|
||||
reload(spec)
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user