Browse Source
Our TLV serializer relies on TLV outputs to be ordered by type number. Prior to this commit we relied on 1) the ordering in the RFC to be correct and 2) users to be using a version of Python that respects stable ordering of dicts (i.e. Python 3.7+) Instead of relying on these implicitly, we now explicitly sort messages by type number when the TLV sets. Resolves #2956. Thanks-To: @ScottTre for the sort function Reported-By: @ZmnSCPxjpull/2938/head
lisa neigut
5 years ago
committed by
Rusty Russell
2 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue