Fix unitialized fields in htlc_out constructed from wallet database entry

This commit is contained in:
Björge Dijkstra 2018-01-18 06:59:49 +10:30 committed by Christian Decker
parent 3fbed24b0d
commit d1b2a97146

View File

@ -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;
}