mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
wire: update csv to current bolt.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
8fdfdcec74
commit
6eb838ddda
@ -957,6 +957,10 @@ static u8 *make_failmsg(const tal_t *ctx,
|
||||
case WIRE_INVALID_ONION_KEY:
|
||||
msg = towire_invalid_onion_key(ctx, sha256);
|
||||
goto done;
|
||||
case WIRE_INVALID_ONION_PAYLOAD:
|
||||
/* FIXME: wire this into tlv parser somehow. */
|
||||
msg = towire_invalid_onion_payload(ctx, 0, 0);
|
||||
goto done;
|
||||
}
|
||||
status_failed(STATUS_FAIL_INTERNAL_ERROR,
|
||||
"Asked to create failmsg %u (%s)",
|
||||
|
@ -45,3 +45,6 @@ msgtype,final_incorrect_htlc_amount,19
|
||||
msgdata,final_incorrect_htlc_amount,incoming_htlc_amt,u64,
|
||||
msgtype,channel_disabled,UPDATE|20
|
||||
msgtype,expiry_too_far,21
|
||||
msgtype,invalid_onion_payload,PERM|22
|
||||
msgdata,invalid_onion_payload,type,varint,
|
||||
msgdata,invalid_onion_payload,offset,u16,
|
||||
|
Loading…
Reference in New Issue
Block a user