Skip to content

Commit c4980eb

Browse files
committed
Fix tuple generation.
1 parent e0ccfd2 commit c4980eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generation/base_type_generator.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export abstract class BaseTypeGenerator<Type extends RustType> {
6565
if (typeName && typeName.startsWith('LDK')) {
6666
const ldkLessTypeName = typeName.substring('LDK'.length);
6767
if (ldkLessTypeName.charAt(0) === 'C') {
68-
if (ldkLessTypeName.startsWith('C2Tuple_') || ldkLessTypeName.startsWith('C3Tuple_')) {
68+
if (ldkLessTypeName.startsWith('C2Tuple_') || ldkLessTypeName.startsWith('C3Tuple_') || ldkLessTypeName.startsWith('C4Tuple_')) {
6969
return ldkLessTypeName.substring(2);
7070
}
7171

0 commit comments

Comments
 (0)