class AskOrderServiceImpl implements OrderService<AskOrder, ColoredCoinsAskOrderPlacement> {

    @Override
    public void removeOrder(long orderId) {
        int height = blockchain.getHeight();
        AskOrder order = getOrder(orderId);
        // IMPORTANT! update new height in order for correct saving duplicated record and correct trim
        order.setHeight(height); // do not remove
        boolean result = askOrderTable.deleteAtHeight(order, height);
        log.trace(">> removeOrder() result={}, askOrderId={}, height={}", result, orderId, height);
    }

    public  AskOrderServiceImpl(
        final DatabaseManager databaseManager,
        final AskOrderTable orderAskTable,
        final Blockchain blockchain,
        final IteratorToStreamConverter<AskOrder> converter
    );
    @Inject public  AskOrderServiceImpl(
        final DatabaseManager databaseManager,
        final AskOrderTable orderAskTable,
        final Blockchain blockchain
    );

}