Allow self-payment
Shouldn't be too hard, really, just have to have a length-one route to ourselves with a dummy SCID (zero?) generated by the router. Then if we see it we immediately generate a PaymentSent and PaymentReceived event and put it in the outbound payment set as fulfilled. We'll have to think a bit about how to ensure persistence is guaranteed but maybe we just handwave that away for now and rely on the user checking the pending payment set and seeing it missing?
@TheBlueMatt let me take this issue
Go for it.
@oochenn indicated interest in picking this up.
Hey I would like to work on this.
Hey I would like to work on this.
As mentioned above, recently @Oochenn wanted to work on this, so you might want to coordinate to avoid duplicate work.
He can take it
@abhilov23 Go for it then!
Seem @Prabhat1308 now opened a draft for this over at #3934