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

View File

@@ -541,7 +541,8 @@ class Test(BaseTest):
itx = pi.getFundedInitiateTxTemplate(ci, swap_value, True)
itx_decoded = ci.describeTx(itx.hex())
value_after_subfee = ci.make_int(itx_decoded['vout'][0]['value'])
n = pi.findMockVout(ci, itx_decoded)
value_after_subfee = ci.make_int(itx_decoded['vout'][n]['value'])
assert (value_after_subfee < swap_value)
swap_value = value_after_subfee
wait_for_unspent(test_delay_event, ci, swap_value)