lightningd: deprecate --ipaddr in favor of --addr.

We're going to add sockets, and later onion addresses, so the current name
is bad.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-05-07 13:23:21 +09:30
committed by Christian Decker
parent ed466a8523
commit 00537fde43
2 changed files with 20 additions and 8 deletions

View File

@@ -669,7 +669,7 @@ class LightningDTests(BaseLightningDTests):
"""
l1 = self.node_factory.get_node()
l2 = self.node_factory.get_node()
l3 = self.node_factory.get_node(options={"ipaddr": "127.0.0.1"})
l3 = self.node_factory.get_node(options={"addr": "127.0.0.1"})
l2.rpc.connect(l3.info['id'], 'localhost', l3.port)