Skip to content
  • Felix Lange's avatar
    cad64fb9
    rlp: stricter rules for structs and pointers · cad64fb9
    Felix Lange authored
    The rules have changed as follows:
    
    * When decoding into pointers, empty values no longer produce
      a nil pointer. This can be overriden for struct fields using the
      struct tag "nil".
    * When decoding into structs, the input list must contain an element
      for each field.
    cad64fb9
    rlp: stricter rules for structs and pointers
    Felix Lange authored
    The rules have changed as follows:
    
    * When decoding into pointers, empty values no longer produce
      a nil pointer. This can be overriden for struct fields using the
      struct tag "nil".
    * When decoding into structs, the input list must contain an element
      for each field.
Loading