raydium-io / raydium-sdk-V2

Open-source Typescript SDK for Raydium
GNU General Public License v3.0
79 stars 47 forks source link

Incorrect comment causing program to break in dev mode #22

Closed alex-js-ltd closed 4 months ago

alex-js-ltd commented 4 months ago

Description:

There is an incorrect comment in the raydium-sdk-V2-demo/src/cpmm/createCpmmPool.ts file which causes the program to break. The current comment is:

// devnet: CREATE_CPMM_POOL_FEE_ACC.CREATE_CPMM_POOL_PROGRAM

Proposed Solution:

// devnet: DEVNET_PROGRAM_ID.CREATE_CPMM_POOL_PROGRAM or DEV_CREATE_CPMM_POOL_FEE_ACC

Thank you! πŸ™

cruzshia commented 4 months ago

OK, thanks for pointing out! Will fix comment later, next time you can raise issue in demo repoπŸ™