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:
Antoine Poinsot
2020-09-23 00:49:53 +02:00
committed by Rusty Russell
parent 7db8680530
commit 15adcc915f
7 changed files with 7 additions and 13 deletions

View File

@@ -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);
}