|
@ -296,8 +296,8 @@ static void json_getroute_reply(struct subd *gossip, const u8 *reply, const int |
|
|
static void json_getroute(struct command *cmd, const char *buffer, const jsmntok_t *params) |
|
|
static void json_getroute(struct command *cmd, const char *buffer, const jsmntok_t *params) |
|
|
{ |
|
|
{ |
|
|
struct pubkey id; |
|
|
struct pubkey id; |
|
|
struct pubkey from_id; |
|
|
struct pubkey from_id; |
|
|
struct pubkey *from_id_to_use; |
|
|
struct pubkey *from_id_to_use; |
|
|
jsmntok_t *idtok, *msatoshitok, *riskfactortok, *cltvtok, *fromidtok; |
|
|
jsmntok_t *idtok, *msatoshitok, *riskfactortok, *cltvtok, *fromidtok; |
|
|
u64 msatoshi; |
|
|
u64 msatoshi; |
|
|
unsigned cltv = 9; |
|
|
unsigned cltv = 9; |
|
|