I can suggest these changes in libplugin-pay.c.
[/quote]
@ElonMusk_ia I can't read this code, but get the CLN developers to incorporate your solution into Core Lightning's codebase to fix CLN's native pay function. Once you have achieved this, please let everybody know and we'll download the latest CLN package to verify that the pay function has been fixed, and I'll pay you whatever proportion of the allocated funds CLN lead developer Rusty Russell specifies.
@Cricktor Thanks for the suggestions.