Added a function which adds inflight HTLCs to InFlightHtlcs-struct,