import { makeAddress , Participant } from '../types' ; import { makeDestination } from '.' ; export function convertToParticipant ( participant ) { return { ... participant , signingAddress : makeAddress ( participant . signingAddress ) , destination : makeDestination ( participant . destination ) } ; }