mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
lightningd: delay reprocessing of incoming htlcs at startup until plugins ready.
Fixes: #2923 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
f0ab4d72da
commit
049529542a
@@ -1195,7 +1195,7 @@ static bool test_htlc_crud(struct lightningd *ld, const tal_t *ctx)
|
||||
"Failed loading HTLCs");
|
||||
db_commit_transaction(w->db);
|
||||
|
||||
htlcs_reconnect(w->ld, htlcs_in, htlcs_out);
|
||||
htlcs_resubmit(w->ld, htlcs_reconnect(w->ld, htlcs_in, htlcs_out));
|
||||
CHECK(!wallet_err);
|
||||
|
||||
hin = htlc_in_map_get(htlcs_in, &in.key);
|
||||
|
||||
Reference in New Issue
Block a user