Skip to content

Commit

Permalink
Change validation
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikJannsen committed Aug 3, 2023
1 parent bd3fff4 commit 20553de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected TradeMessage(String tradeId, NetworkId sender) {
this.tradeId = tradeId;
this.sender = sender;

NetworkDataValidation.validateId(tradeId);
NetworkDataValidation.validateText(tradeId, 200); // For private channels we combine user profile IDs for channelId
}

public bisq.trade.protobuf.TradeMessage.Builder getTradeMessageBuilder() {
Expand Down

0 comments on commit 20553de

Please sign in to comment.