diff --git a/test/functional/abc_p2p_avalanche_transaction_voting.py b/test/functional/abc_p2p_avalanche_transaction_voting.py --- a/test/functional/abc_p2p_avalanche_transaction_voting.py +++ b/test/functional/abc_p2p_avalanche_transaction_voting.py @@ -78,7 +78,7 @@ poll_node.send_poll(tx_ids, MSG_TX) assert_response( - [AvalancheVote(AvalancheTxVoteError.UNKNOWN, id) for id in tx_ids]) + [AvalancheVote(AvalancheTxVoteError.UNKNOWN, txid) for txid in tx_ids]) self.log.info("Check the votes on valid mempool transactions") @@ -89,7 +89,7 @@ poll_node.send_poll(tx_ids, MSG_TX) assert_response( - [AvalancheVote(AvalancheTxVoteError.ACCEPTED, id) for id in tx_ids]) + [AvalancheVote(AvalancheTxVoteError.ACCEPTED, txid) for txid in tx_ids]) self.log.info("Check the votes on recently mined transactions") @@ -98,13 +98,13 @@ poll_node.send_poll(tx_ids, MSG_TX) assert_response( - [AvalancheVote(AvalancheTxVoteError.ACCEPTED, id) for id in tx_ids]) + [AvalancheVote(AvalancheTxVoteError.ACCEPTED, txid) for txid in tx_ids]) for _ in range(10): self.generate(node, 1, sync_fun=self.no_op) poll_node.send_poll(tx_ids, MSG_TX) assert_response( - [AvalancheVote(AvalancheTxVoteError.ACCEPTED, id) for id in tx_ids]) + [AvalancheVote(AvalancheTxVoteError.ACCEPTED, txid) for txid in tx_ids]) self.log.info("Check the votes on unknown transactions") @@ -112,7 +112,7 @@ poll_node.send_poll(tx_ids, MSG_TX) assert_response( - [AvalancheVote(AvalancheTxVoteError.UNKNOWN, id) for id in tx_ids]) + [AvalancheVote(AvalancheTxVoteError.UNKNOWN, txid) for txid in tx_ids]) self.log.info("Check the votes on invalid transactions")