mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
pytest: Updated requirements.txt to latest versions
This is an issue that was raised in #2665: some of the dependencies where causing warnings to be added to the logs about deprecated dependencies. Since I did not get these warnings I just blanket updated all the dependencies in the hopes of getting the warnings to resolve. Signed-off-by: Christian Decker <@cdecker>
This commit is contained in:
@@ -91,7 +91,7 @@ def get_tx_p2wsh_outnum(bitcoind, tx, amount):
|
||||
for out in decoded['vout']:
|
||||
if out['scriptPubKey']['type'] == 'witness_v0_scripthash':
|
||||
if out['value'] == Decimal(amount) / 10**8:
|
||||
return out['n']
|
||||
return out['n']
|
||||
|
||||
return None
|
||||
|
||||
@@ -465,7 +465,7 @@ class LightningNode(object):
|
||||
self.allow_bad_gossip = allow_bad_gossip
|
||||
|
||||
def connect(self, remote_node):
|
||||
self.rpc.connect(remote_node.info['id'], '127.0.0.1', remote_node.daemon.port)
|
||||
self.rpc.connect(remote_node.info['id'], '127.0.0.1', remote_node.daemon.port)
|
||||
|
||||
def is_connected(self, remote_node):
|
||||
return remote_node.info['id'] in [p['id'] for p in self.rpc.listpeers()['peers']]
|
||||
|
||||
Reference in New Issue
Block a user