When using bolt12 and paying direct peers as destination, both pay and xpay seem to suddenly pay fees.
Fetching an invoice for 10000msat and pay it and i get:
l1-cli pay "<removed>"
{
"destination": "035ed467e11a1990fd4fc7d98dafbc3c49abcf8d2a48fb24f914e909e95a6737cb",
"payment_hash": "b461b5fae962473ad0d198c0a69e458cbd6a9ef959918ea5cd6c434e75422ff4",
"created_at": 1774304621.999080537,
"parts": 1,
"amount_msat": 10001,
"amount_sent_msat": 10001,
"payment_preimage": "a70a45a55d5121b9ba54daeb62a8cb0bb31fcaeda643974ef3ed8952c0c83f55",
"status": "complete"
}
Similar with xpay, but with xpay only amount_sent_msat is increased.
I would expect pay/xpay to not pay fees when the destination of the payment is a direct peer.