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:
Christian Decker
2019-07-13 15:23:08 +02:00
parent c3254e6639
commit 245dff26e0
3 changed files with 13 additions and 15 deletions

View File

@@ -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']]