send Add
fun sendAdd(cmd: CMD_ADD_HTLC, paymentId: UUID, blockHeight: Long): Either<ChannelException, Pair<Commitments, UpdateAddHtlc>>
Content copied to clipboard
Return
either Failure(failureMessage) with a BOLT #4 failure or Success(new commitments, updateAddHtlc)
Parameters
cmd
add HTLC command
payment Id
id of the payment
block Height
current block height