Issue and Steps to Reproduce
Trying to get a route from a remote node to own node, whilst excluding a specific channel.
The result (last hop) uses a channel which has a reserve requirement, yet getroute still tries to use it, generating WIRE_TEMPORARY_FAILURE errors.



getinfo output
{
"id": "035df40d260523db32cc90dd178176d60965e23b6abe076861909c40aeb56120ff",
"alias": "sudonym",
"color": "035df4",
"num_peers": 6,
"num_pending_channels": 0,
"num_active_channels": 5,
"num_inactive_channels": 0,
"address": [],
"binding": [
{
"type": "ipv4",
"address": "0.0.0.0",
"port": 9735
}
],
"version": "v0.12.1",
"blockheight": 765775,
"network": "bitcoin",
"msatoshi_fees_collected": 101760,
"fees_collected_msat": "101760msat",
"lightning-dir": "/root/.lightning/bitcoin",
"our_features": {
"init": "08a080080a69a2",
"node": "88a080080a69a2",
"channel": "",
"invoice": "02000000024100"
}
}