tests: Fix NMC tests.

This commit is contained in:
tecnovert
2022-07-04 22:29:49 +02:00
parent 02bd90053a
commit 0580f9ebac
7 changed files with 66 additions and 38 deletions

View File

@@ -54,7 +54,7 @@ def redeemITx(self, bid_id, session):
ci_from = self.ci(offer.coin_from)
txn = self.createRedeemTxn(ci_from.coin_type(), bid, for_txn_type='initiate')
txid = self.submitTxn(ci_from.coin_type(), txn)
txid = ci_from.publishTx(bytes.fromhex(txn))
bid.initiate_tx.spend_txid = bytes.fromhex(txid)
self.log.debug('Submitted initiate redeem txn %s to %s chain for bid %s', txid, ci_from.coin_name(), bid_id.hex())