class ReceiptStoreImpl implements ReceiptStore {

    @Override
    public TransactionInfo get(byte[] transactionHash){
        List<TransactionInfo> txs = getAll(transactionHash);

        if (txs.isEmpty()) {
            return null;
        }

        return txs.get(txs.size() - 1);
    }

    public  ReceiptStoreImpl(KeyValueDataSource receiptsDS);

}