Skip to content

Commit a562c14

Browse files
authored
js-legacy: Fix typo in isUiAmountToAmountInstruction function name (#903)
Changed 'isUiamountToAmountInstruction' to 'isUiAmountToAmountInstruction' to match the correct camelCase convention used throughout the codebase. This ensures consistency with other similar functions like createUiAmountToAmountInstruction and the UiAmountToAmount enum value.
1 parent 0c63d3a commit a562c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/js-legacy/src/instructions/decode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export function isAmountToUiAmountInstruction(
242242
}
243243

244244
/** TODO: docs */
245-
export function isUiamountToAmountInstruction(
245+
export function isUiAmountToAmountInstruction(
246246
decoded: DecodedInstruction,
247247
): decoded is DecodedUiAmountToAmountInstruction {
248248
return decoded.data.instruction === TokenInstruction.UiAmountToAmount;

0 commit comments

Comments
 (0)