/*
 * This file is part of Bisq.
 *
 * Bisq is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or (at
 * your option) any later version.
 *
 * Bisq is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
 * License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Bisq. If not, see <http://www.gnu.org/licenses/>.
 */

package bisq.core.trade.protocol.bsq_swap.tasks.seller_as_taker;

import bisq.core.trade.model.bsq_swap.BsqSwapTrade;
import bisq.core.trade.protocol.bsq_swap.messages.BsqSwapTxInputsMessage;
import bisq.core.trade.protocol.bsq_swap.tasks.seller.ProcessTxInputsMessage;

import bisq.common.taskrunner.TaskRunner;

import lombok.extern.slf4j.Slf4j;

import static com.google.common.base.Preconditions.checkArgument;

@Slf4j
public class ProcessBsqSwapTxInputsMessage extends ProcessTxInputsMessage {
    @SuppressWarnings({"unused"})
    public ProcessBsqSwapTxInputsMessage(TaskRunner<BsqSwapTrade> taskHandler, BsqSwapTrade bsqSwapTrade) {
        super(taskHandler, bsqSwapTrade);
    }

    @Override
    protected void run() {
        try {
            runInterceptHook();

            checkArgument(protocolModel.getTradeMessage() instanceof BsqSwapTxInputsMessage);

            super.run();

            complete();
        } catch (Throwable t) {
            failed(t);
        }
    }

    @Override
    protected long getBuyersTradeFee() {
        return trade.getMakerFee();
    }

    @Override
    protected long getSellersTradeFee() {
        return trade.getTakerFee();
    }
}

@@ -1576,33 +1576,8 @@
 n();
-%0A%0A            complete();
 %0A   

Remove redundant complete call