mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
tools/generate_wire.py: tlvs should start with tlv_
No more "towire_offer", but "towire_tlv_offer". This means we double-up on the unfortunately-named `tlv_payload` inside the onion, but we should rename that in the spec when we remove old payloads. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -357,7 +357,7 @@ static struct command_result *htlc_accepted_call(struct command *cmd,
|
||||
if (s != max) {
|
||||
return htlc_accepted_continue(cmd, NULL);
|
||||
}
|
||||
if (!fromwire_tlv_payload(&rawpayload, &max, payload)) {
|
||||
if (!fromwire_tlv_tlv_payload(&rawpayload, &max, payload)) {
|
||||
plugin_log(
|
||||
cmd->plugin, LOG_UNUSUAL, "Malformed TLV payload %.*s",
|
||||
json_tok_full_len(params),
|
||||
|
||||
Reference in New Issue
Block a user