def tx_for_tx_hash(self, tx_hash):
        url = "%s/rawtx/%s" % (self.url, b2h_rev(tx_hash))
        d = urlopen(url).read()
        j = json.loads(d.decode("utf8"))
        tx = Tx.from_hex(j.get("rawtx", ""))
        if tx.hash() == tx_hash:
            return tx
Ensures that the context passed in is not in a transaction.
dataset/ETHPy150Open richardkiss/pycoin/pycoin/services/blockexplorer.py/BlockExplorerProvider.tx_for_tx_hash--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/common/utils.py/transaction_guard