mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-17 13:07:32 +02:00
Load lightning client on server startup (#17)
This commit is contained in:
parent
c032b5be0f
commit
61bdccbda2
1 changed files with 2 additions and 2 deletions
|
|
@ -113,10 +113,10 @@ def run_server(config):
|
|||
SelectParams(config['DEFAULT']['network'])
|
||||
|
||||
print('starting lightning client here...', flush=True)
|
||||
# lightning_client = load_lightning_client(config)
|
||||
lightning_client = load_lightning_client(config)
|
||||
# db_factory = load_db_factory(config)
|
||||
# node = load_client(blockchain_client, lightning_client, signing_key, db_factory)
|
||||
handler = load_handler(None)
|
||||
handler = load_handler(lightning_client)
|
||||
|
||||
# start rpc server
|
||||
start_rpc_server(handler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue