extractPreimageFromHtlcSuccess

fun extractPreimageFromHtlcSuccess(): (ScriptWitness) -> ByteVector32?

Extract the payment preimage from a 2nd-stage HTLC Success transaction's witness script