question: public static void validateParticipantIdsEqual ( String expectedParticipantId , String actualParticipantId ) throws CryptoException { if ( ! expectedParticipantId . equals ( actualParticipantId ) ) { throw new CryptoException ( "Received payload from incorrect partner (" + actualParticipantId + "). Expected to receive payload from " + expectedParticipantId + "." ) ; } }
target:  Validates that the given participant ids are equal. This is used to ensure that the payloads received from each round all come from the same participant.