Deserialize payment metadata fields in the onion final hop data
[rust-lightning] / lightning / src / ln / onion_utils.rs
index 2c20fb17734b74a3394ca724ad732a8ec5f3525b..a751cb092daf1bf816f68924ada9464e72fdab0f 100644 (file)
@@ -170,6 +170,7 @@ pub(super) fn build_onion_payloads(path: &Vec<RouteHop>, total_msat: u64, mut re
                                                        total_msat,
                                                })
                                        } else { None },
+                                       payment_metadata: None,
                                        keysend_preimage: *keysend_preimage,
                                }
                        } else {