Work around #5113.

This commit is contained in:
Daniel Kraft
2014-10-24 09:06:37 +02:00
parent dcb98466b4
commit 2290ed01bc
2 changed files with 7 additions and 3 deletions

View File

@@ -194,6 +194,10 @@ def connect_nodes(from_connection, node_num):
while any(peer['version'] == 0 for peer in from_connection.getpeerinfo()):
time.sleep(0.1)
def connect_nodes_bi(nodes, a, b):
connect_nodes(nodes[a], b)
connect_nodes(nodes[b], a)
def find_output(node, txid, amount):
"""
Return index to output of txid with value amount