private fun ReservationList.res_replaceRecipientAt(idx: Int, recipient: ScriptHash): ReservationList
(source)
Finds the reserved funds object at the given idx and replaces its recipient with the one given.
index
- the zero-based index of the Reservation to replace the recipient in
recipient
- the recipient to replace the existing one with in the Reservation
Return
the new ReservationList containing the replaced entry