mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-04 07:02:16 +00:00
Macro was using field_n (field index including ignored fields) for calculations instad of enum_n (field index excluding ignored fields). When calculating te nesting the calculation was made between the number of non-ignored fields and a field_n that lead to and overflow. Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>