mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
Fix tx state display in lists.
selectable address for send_from.
This commit is contained in:
@@ -342,7 +342,7 @@ class Test(unittest.TestCase):
|
||||
time.sleep(1)
|
||||
bids = swap_client.listBids()
|
||||
for bid in bids:
|
||||
if bid.bid_id == bid_id and bid.was_received:
|
||||
if bid[1] == bid_id and int(bid[5]) == 1:
|
||||
return
|
||||
raise ValueError('wait_for_bid timed out.')
|
||||
|
||||
|
||||
@@ -338,7 +338,7 @@ class Test(unittest.TestCase):
|
||||
time.sleep(1)
|
||||
bids = swap_client.listBids()
|
||||
for bid in bids:
|
||||
if bid.bid_id == bid_id and bid.was_received:
|
||||
if bid[1] == bid_id and int(bid[5]) == 1:
|
||||
return
|
||||
raise ValueError('wait_for_bid timed out.')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user