Browse Source

Fix unitialized fields in htlc_out constructed from wallet database entry

ppa-0.6.1
Björge Dijkstra 7 years ago
committed by Christian Decker
parent
commit
d1b2a97146
  1. 3
      wallet/wallet.c

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

Loading…
Cancel
Save