Fix Dash checkseed.

This commit is contained in:
tecnovert
2022-12-12 01:30:33 +02:00
parent 2a9e423eaa
commit 3f71dffe5a
10 changed files with 47 additions and 13 deletions
+2 -1
View File
@@ -622,7 +622,8 @@ class Test(unittest.TestCase):
itx = pi.getFundedInitiateTxTemplate(ci_from, swap_value, True)
itx_decoded = ci_from.describeTx(itx.hex())
value_after_subfee = ci_from.make_int(itx_decoded['vout'][0]['value'])
n = pi.findMockVout(ci_from, itx_decoded)
value_after_subfee = ci_from.make_int(itx_decoded['vout'][n]['value'])
assert (value_after_subfee < swap_value)
swap_value = value_after_subfee
wait_for_unspent(delay_event, ci_from, swap_value)