routing: Reading the channel_id from routes passed in from JSONRPC

This commit is contained in:
Christian Decker
2017-04-29 13:28:45 +02:00
parent d87ca4121d
commit f700662a56
4 changed files with 45 additions and 6 deletions

View File

@@ -180,4 +180,7 @@ struct route_hop *get_route(tal_t *ctx, struct routing_state *rstate,
* the direction bit the matching channel should get */
#define get_channel_direction(from, to) (pubkey_cmp(from, to) > 0)
bool short_channel_id_from_str(const char *str, size_t strlen,
struct short_channel_id *dst);
#endif /* LIGHTNING_DAEMON_ROUTING_H */