def check_tx_in_chain(self, node_id, txid):
    assert_greater_than(len(self.nodes), node_id)
    rawTx = self.nodes[node_id].getrawtransaction(txid, 1)
    assert_greater_than(rawTx['confirmations'], 0)
def check_tx_in_chain(self, node_id, txid):
    assert_greater_than(len(self.nodes), node_id)
    rawTx = self.nodes[node_id].getrawtransaction(txid, 1)
    assert_greater_than(rawTx['confirmations'], 0)