tests,fundchannel: return the result from the fundchannel rpc call

We need this so we can verify the 'close_to' result
This commit is contained in:
niftynei
2020-10-15 13:10:31 -05:00
committed by Rusty Russell
parent ee329f08de
commit de34f08b82
7 changed files with 60 additions and 59 deletions

View File

@@ -790,7 +790,7 @@ class LightningNode(object):
self.wait_channel_active(scid)
l2.wait_channel_active(scid)
return scid
return scid, res
def subd_pid(self, subd, peerid=None):
"""Get the process id of the given subdaemon, eg channeld or gossipd"""