witness Claim Htlc Success From Commit Tx
fun witnessClaimHtlcSuccessFromCommitTx(localSig: ByteVector64, paymentPreimage: ByteVector32, htlcOffered: ByteVector): ScriptWitness
Content copied to clipboard
If remote publishes its commit tx where there was a remote->local htlc, then local uses this script to claim its funds using a payment preimage (consumes htlcOffered script from commit tx)