Skip to content

Commit 966446f

Browse files
committed
rm message
1 parent 7c21091 commit 966446f

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

src/langchain/solana/verify.ts

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export class SolanaProgramVerificationTool extends Tool {
3939

4040
return JSON.stringify({
4141
status: "success",
42-
message: "Program verification completed",
4342
details: {
4443
programId: parsedInput.programId,
4544
repository: parsedInput.github,
@@ -48,17 +47,12 @@ export class SolanaProgramVerificationTool extends Tool {
4847
},
4948
});
5049
} catch (error: any) {
51-
// Return error response
52-
return JSON.stringify(
53-
{
54-
status: "error",
55-
message: error.message,
56-
code: error.code || "VERIFICATION_ERROR",
57-
details: error.stack,
58-
},
59-
null,
60-
2,
61-
);
50+
return JSON.stringify({
51+
status: "error",
52+
message: error.message,
53+
code: error.code || "VERIFICATION_ERROR",
54+
details: error.stack,
55+
});
6256
}
6357
}
6458
}
@@ -102,7 +96,6 @@ export class SolanaProgramVerificationStatusTool extends Tool {
10296
status: "error",
10397
message: error.message,
10498
code: "STATUS_CHECK_ERROR",
105-
details: error.stack,
10699
});
107100
}
108101
}

0 commit comments

Comments
 (0)