nostrdb: bolt11: move utf8_check into local function.

It isn't actually in the CCAN module (though it probably should be!).
So it breaks when we update.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Rusty Russell
2024-08-17 14:57:06 +09:30
committed by Daniel D’Aquino
parent b326f007f2
commit 0ac25b7aa3
3 changed files with 18 additions and 3 deletions

View File

@@ -28,6 +28,5 @@ static inline char *strdupn(const char *src, size_t size) {
dest[size] = '\0';
return dest;
}
#endif // NDB_UTIL_H