mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-28 00:39:31 -05:00
handle arbitrator trade in TradableList (#58)
This commit is contained in:
parent
afe46ebe26
commit
fcdc627d00
@ -76,6 +76,8 @@ public final class TradableList<T extends Tradable> 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() = " +
|
||||
|
Loading…
Reference in New Issue
Block a user