mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
pyln-testing: don't fail to start node if we have no Rust.
No cln-grpc means no "grpc-port" option! I often test this way, with RUST=0 for speed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
edc0eb6473
commit
b34adc704b
1 changed files with 1 additions and 1 deletions
|
@ -830,7 +830,7 @@ class LightningNode(object):
|
|||
if SLOW_MACHINE:
|
||||
self.daemon.cmd_prefix += ['--read-inline-info=no']
|
||||
|
||||
if self.daemon.opts.get('disable-plugin') == 'cln-grpc':
|
||||
if self.daemon.opts.get('disable-plugin') == 'cln-grpc' or env('RUST') == '0':
|
||||
self.grpc_port = None
|
||||
else:
|
||||
if grpc_port:
|
||||
|
|
Loading…
Add table
Reference in a new issue