This fixes some corner cases which existed in askrene because I didn't get the nuance of @Lagrang3's MCF code. It makes a clearly-separate post "refinement" pass, which handles the finer details of adding fees, taking into account minimum htlc amounts, and also adds accommodations for the reduced capacity of local channels when we add more than one HTLC.
This fixes some corner cases which existed in askrene because I didn't get the nuance of @Lagrang3's MCF code. It makes a clearly-separate post "refinement" pass, which handles the finer details of adding fees, taking into account minimum htlc amounts, and also adds accommodations for the reduced capacity of local channels when we add more than one HTLC.