Skip to content

Commit

Permalink
revert createDest and createBeneficiary docs in ParaToSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
marshacb committed Nov 11, 2023
1 parent 3478a12 commit dd86086
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/createXcmTypes/ParaToSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export const ParaToSystem: ICreateXcmType = {
/**
* Create a XcmVersionedMultiLocation type for a beneficiary.
*
* @param accountId The accountId of the beneficiary
* @param xcmVersion The accepted xcm version
* @param accountId The accountId of the beneficiary.
* @param xcmVersion The accepted xcm version.
*/
createBeneficiary: (accountId: string, xcmVersion?: number): XcmDestBenificiary => {
if (xcmVersion == 2) {
Expand All @@ -64,8 +64,8 @@ export const ParaToSystem: ICreateXcmType = {
/**
* Create a XcmVersionedMultiLocation type for a destination.
*
* @param destId The parachain Id of the destination
* @param xcmVersion The accepted xcm version
* @param destId The parachain Id of the destination.
* @param xcmVersion The accepted xcm version.
*/
createDest: (destId: string, xcmVersion?: number): XcmDestBenificiary => {
if (xcmVersion === 2) {
Expand Down

0 comments on commit dd86086

Please sign in to comment.