mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
Valgrind correctly reports it as uninitialized for this log message, and the only way this can happen is channel_hints_update() when we receive a temporary_channel_failure. Put a dummy value here in this case. ``` Valgrind error file: valgrind-errors.23404 ==23404== Conditional jump or move depends on uninitialised value(s) ==23404== at 0x49E4B56: __vfprintf_internal (vfprintf-internal.c:1516) ==23404== by 0x49F6519: __vsnprintf_internal (vsnprintf.c:114) ==23404== by 0x1EBCEB: do_vfmt (str.c:66) ==23404== by 0x1EBDF8: tal_vfmt_ (str.c:92) ==23404== by 0x11A336: paymod_log (libplugin-pay.c:167) ==23404== by 0x11B4B2: payment_chanhints_apply_route (libplugin-pay.c:534) ==23404== by 0x11E999: payment_compute_onion_payloads (libplugin-pay.c:1707) ==23404== by 0x11FF4C: payment_continue (libplugin-pay.c:2135) ==23404== by 0x1245C0: adaptive_splitter_cb (libplugin-pay.c:3800) ==23404== by 0x11FEF3: payment_continue (libplugin-pay.c:2123) ==23404== by 0x1205FE: retry_step_cb (libplugin-pay.c:2301) ==23404== by 0x11FEF3: payment_continue (libplugin-pay.c:2123) ==23404== ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Plugin Directory
Any file in this directory which is executable and whose name only consists of alphanumeric characters, space, '.', '-' or '_' will be automatically loaded when lightningd starts (unless suppressed with commandline options).