mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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);
|
||||
|
||||
Reference in New Issue
Block a user