Function FlashNode.onUpdateComplete

Called by a channel once an update has been completed.

void onUpdateComplete (
  PublicKey reg_pk,
  in const(geod24.bitblob.BitBlob!(64L)[]) secrets,
  in const(geod24.bitblob.BitBlob!(64L)[]) rev_htlcs
);

For any channels which use the same payment hash, the node will try to update the channel by settling the HTLCs.

Parameters

NameDescription
secrets list of secrets revealed during an update
rev_htlcs list of htlcs dropped during an update