Skip to content

Commit

Permalink
fix loop condition
Browse files Browse the repository at this point in the history
  • Loading branch information
alex v committed Dec 9, 2019
1 parent da2432d commit d3e786f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qa/rpc-tests/cfund-paymentrequest-payout.py
Expand Up @@ -175,10 +175,10 @@ def run_test(self):

time.sleep(1)

while self.nodes[0].getpaymentrequest(paymentReq)["state"] == 6:
while self.nodes[0].getpaymentrequest(paymentReq)["state"] != 6:
slow_gen(self.nodes[0], 1)

while self.nodes[1].getpaymentrequest(paymentReq)["state"] == 6:
while self.nodes[1].getpaymentrequest(paymentReq)["state"] != 6:
slow_gen(self.nodes[1], 1)

slow_gen(self.nodes[1], 1)
Expand Down

0 comments on commit d3e786f

Please sign in to comment.