Skip to content

Commit

Permalink
REMOVE - add pause to cause vls#469
Browse files Browse the repository at this point in the history
  • Loading branch information
ksedgwic committed Mar 15, 2024
1 parent d6e4832 commit 1a39979
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions channeld/channeld.c
Original file line number Diff line number Diff line change
Expand Up @@ -1447,6 +1447,9 @@ static void get_per_commitment_point(u64 index, struct pubkey *point)

static void revoke_commitment(u64 index, struct pubkey *point, struct secret *old_secret)
{
// REMOVE - only here to cause vls#469 more often
sleep(2);

const u8 *msg;
msg = hsm_req(tmpctx, take(towire_hsmd_revoke_commitment_tx(tmpctx, index)));
if (!fromwire_hsmd_revoke_commitment_tx_reply(msg, old_secret, point))
Expand Down

0 comments on commit 1a39979

Please sign in to comment.