They're not logically connected: we can know where they wanted to go, but we didn't send it. Where possible, it's the scid *they asked for*; otherwise, it's the scid or fallback to the alias, but do this in the *caller*, not by overriding inside wallet_forwarded_payment_add. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| test | ||
| .gitignore | ||
| db.c | ||
| db.h | ||
| invoices.c | ||
| invoices.h | ||
| Makefile | ||
| reservation.c | ||
| txfilter.c | ||
| txfilter.h | ||
| wallet.c | ||
| wallet.h | ||
| walletrpc.c | ||
| walletrpc.h | ||