mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
bolt11: handle r value fee spec change.
We don't use it yet, but now we'll decode correctly. See: https://github.com/lightningnetwork/lightning-rfc/pull/317 lightning-rfc commit: ef053c09431442697ab46e83f9d3f86e3510a18e Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
e9f9721ed3
commit
0610f66c34
@@ -547,8 +547,10 @@ static void json_decodepay(struct command *cmd,
|
||||
"short_channel_id",
|
||||
&b11->routes[i][n]
|
||||
.short_channel_id);
|
||||
json_add_u64(response, "fee",
|
||||
b11->routes[i][n].fee);
|
||||
json_add_u64(response, "fee_base_msat",
|
||||
b11->routes[i][n].fee_base_msat);
|
||||
json_add_u64(response, "fee_proportional_millionths",
|
||||
b11->routes[i][n].fee_proportional_millionths);
|
||||
json_add_num(response, "cltv_expiry_delta",
|
||||
b11->routes[i][n]
|
||||
.cltv_expiry_delta);
|
||||
|
||||
@@ -79,7 +79,7 @@ void subd_shutdown(struct subd *subd UNNEEDED, unsigned int seconds UNNEEDED)
|
||||
void timer_expired(tal_t *ctx UNNEEDED, struct timer *timer UNNEEDED)
|
||||
{ fprintf(stderr, "timer_expired called!\n"); abort(); }
|
||||
/* Generated stub for txfilter_add_derkey */
|
||||
void txfilter_add_derkey(struct txfilter *filter UNNEEDED, u8 derkey[33])
|
||||
void txfilter_add_derkey(struct txfilter *filter UNNEEDED, u8 derkey[PUBKEY_DER_LEN])
|
||||
{ fprintf(stderr, "txfilter_add_derkey called!\n"); abort(); }
|
||||
/* Generated stub for txfilter_new */
|
||||
struct txfilter *txfilter_new(const tal_t *ctx UNNEEDED)
|
||||
|
||||
Reference in New Issue
Block a user