v0.1.4 - Rename cashu wallet module API functions to remove _json suffix and keep tool-facing names consistent
This commit is contained in:
@@ -259,6 +259,12 @@ char* tools_execute_legacy(tools_context_t* ctx, const char* tool_name, const ch
|
||||
if (strcmp(tool_name, "cashu_wallet_receive_token") == 0) {
|
||||
return execute_cashu_wallet_receive_token(ctx, args_json);
|
||||
}
|
||||
if (strcmp(tool_name, "cashu_wallet_mints_get") == 0) {
|
||||
return execute_cashu_wallet_mints_get(ctx, args_json);
|
||||
}
|
||||
if (strcmp(tool_name, "cashu_wallet_mints_set") == 0) {
|
||||
return execute_cashu_wallet_mints_set(ctx, args_json);
|
||||
}
|
||||
|
||||
return json_error("unknown tool");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user