From d1b2a97146f9e84b5238cac2fef56d14085b5692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rge=20Dijkstra?= Date: Thu, 18 Jan 2018 06:59:49 +1030 Subject: [PATCH] Fix unitialized fields in htlc_out constructed from wallet database entry --- wallet/wallet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wallet/wallet.c b/wallet/wallet.c index 4a7522acc..be404887c 100644 --- a/wallet/wallet.c +++ b/wallet/wallet.c @@ -1055,6 +1055,9 @@ static bool wallet_stmt2htlc_out(const struct wallet_channel *channel, * htlcs, will wire using origin_htlc_id */ out->in = NULL; + out->pay_command = NULL; + out->payment = NULL; + return ok; }