Function FlashNode.onPaymentComplete
Called by a channel once a payment has been completed.
If the there are any known secrets, we can propose an update to the channel state by revealing the secrets to the counter-parties.
Parameters
Name | Description |
---|---|
chan_id | the channel ID for which the payment was completed |
payment_hash | the payment hash which was used |