mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
Fix unitialized fields in htlc_out constructed from wallet database entry
This commit is contained in:
parent
3fbed24b0d
commit
d1b2a97146
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user