mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 20:19:21 +00:00
handle arbitrator trade in TradableList (#58)
This commit is contained in:
parent
afe46ebe26
commit
fcdc627d00
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ public final class TradableList<T extends Tradable> extends PersistableListAsObs
|
||||||
return SellerAsMakerTrade.fromProto(tradable.getSellerAsMakerTrade(), xmrWalletService, coreProtoResolver);
|
return SellerAsMakerTrade.fromProto(tradable.getSellerAsMakerTrade(), xmrWalletService, coreProtoResolver);
|
||||||
case SELLER_AS_TAKER_TRADE:
|
case SELLER_AS_TAKER_TRADE:
|
||||||
return SellerAsTakerTrade.fromProto(tradable.getSellerAsTakerTrade(), xmrWalletService, coreProtoResolver);
|
return SellerAsTakerTrade.fromProto(tradable.getSellerAsTakerTrade(), xmrWalletService, coreProtoResolver);
|
||||||
|
case ARBITRATOR_TRADE:
|
||||||
|
return ArbitratorTrade.fromProto(tradable.getArbitratorTrade(), xmrWalletService, coreProtoResolver);
|
||||||
default:
|
default:
|
||||||
log.error("Unknown messageCase. tradable.getMessageCase() = " + tradable.getMessageCase());
|
log.error("Unknown messageCase. tradable.getMessageCase() = " + tradable.getMessageCase());
|
||||||
throw new ProtobufferRuntimeException("Unknown messageCase. tradable.getMessageCase() = " +
|
throw new ProtobufferRuntimeException("Unknown messageCase. tradable.getMessageCase() = " +
|
||||||
|
|
Loading…
Reference in a new issue