mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
Remove varint typedef for bigsize
It's not part of the spec anymore Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
7db8680530
commit
15adcc915f
@@ -242,7 +242,7 @@ static struct command_result *htlc_accepted_call(struct command *cmd,
|
||||
max = tal_bytelen(rawpayload);
|
||||
payload = tlv_tlv_payload_new(cmd);
|
||||
|
||||
s = fromwire_varint(&rawpayload, &max);
|
||||
s = fromwire_bigsize(&rawpayload, &max);
|
||||
if (s != max) {
|
||||
return htlc_accepted_continue(cmd, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user