From fcdc627d0026906a263751463aac80b04fc642df Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 8 May 2021 20:12:50 -0400 Subject: [PATCH] handle arbitrator trade in TradableList (#58) --- core/src/main/java/bisq/core/trade/TradableList.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/bisq/core/trade/TradableList.java b/core/src/main/java/bisq/core/trade/TradableList.java index e39d2951..4485c9f1 100644 --- a/core/src/main/java/bisq/core/trade/TradableList.java +++ b/core/src/main/java/bisq/core/trade/TradableList.java @@ -76,6 +76,8 @@ public final class TradableList extends PersistableListAsObs return SellerAsMakerTrade.fromProto(tradable.getSellerAsMakerTrade(), xmrWalletService, coreProtoResolver); case SELLER_AS_TAKER_TRADE: return SellerAsTakerTrade.fromProto(tradable.getSellerAsTakerTrade(), xmrWalletService, coreProtoResolver); + case ARBITRATOR_TRADE: + return ArbitratorTrade.fromProto(tradable.getArbitratorTrade(), xmrWalletService, coreProtoResolver); default: log.error("Unknown messageCase. tradable.getMessageCase() = " + tradable.getMessageCase()); throw new ProtobufferRuntimeException("Unknown messageCase. tradable.getMessageCase() = " +