mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-09 16:14:19 +01:00
Update for latest bolt version: bca814e270dcbee2fea51c0a26ca99efef261f2b
The only change is that the final_incorrect_htlc_amount field is now 64 bit. Since no implementation yet parses that field, we just updated it quietly in the spec. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
2
Makefile
2
Makefile
@@ -9,7 +9,7 @@ CCANDIR := ccan
|
||||
|
||||
# Where we keep the BOLT RFCs
|
||||
BOLTDIR := ../lightning-rfc/
|
||||
BOLTVERSION := 8516beb2c4fe6fc19bb4b1824b1635ae13805f49
|
||||
BOLTVERSION := bca814e270dcbee2fea51c0a26ca99efef261f2b
|
||||
|
||||
-include config.vars
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ static void handle_localpay(struct htlc_in *hin,
|
||||
*
|
||||
* 1. type: 19 (`final_incorrect_htlc_amount`)
|
||||
* 2. data:
|
||||
* * [`4`:`incoming_htlc_amt`]
|
||||
* * [`8`:`incoming_htlc_amt`]
|
||||
*
|
||||
* The amount in the HTLC doesn't match the value in the onion.
|
||||
*/
|
||||
|
||||
@@ -36,6 +36,6 @@ final_expiry_too_soon,17
|
||||
final_incorrect_cltv_expiry,18
|
||||
final_incorrect_cltv_expiry,0,cltv_expiry,4
|
||||
final_incorrect_htlc_amount,19
|
||||
final_incorrect_htlc_amount,0,incoming_htlc_amt,4
|
||||
final_incorrect_htlc_amount,0,incoming_htlc_amt,8
|
||||
channel_disabled,UPDATE|20
|
||||
expiry_too_far,21
|
||||
|
||||
Reference in New Issue
Block a user