#vulnerable code 
                                @Override
    public Transaction getTx(NulsDigestData hash) {
        TransactionLocalPo localPo = localTxDao.get(hash.getDigestHex());
        if (localPo != null) {
            try {
                Transaction tx = UtxoTransferTool.toTransaction(localPo);
                return tx;
            } catch (Exception e) {
                Log.error(e);
            }
        }
        TransactionPo po = txDao.get(hash.getDigestHex());
        if (null == po) {
            return null;
        }
        try {
            Transaction tx = UtxoTransferTool.toTransaction(po);
            return tx;
        } catch (Exception e) {
            Log.error(e);
        }
        return null;
    } 
                            #location 6 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                @Override
    public Transaction getTx(NulsDigestData hash) {
        TransactionPo po = txDao.get(hash.getDigestHex());
        if (null != po) {
            try {
                Transaction tx = UtxoTransferTool.toTransaction(po);
                return tx;
            } catch (Exception e) {
                Log.error(e);
            }
        }
        return null;
    }