Closed michielbdejong closed 7 years ago
https://github.com/interledgerjs/clp-packet/blob/master/index.js#L101 should probably just write contents, not a VarOctetString containing it?
contents
See also https://github.com/interledger/rfcs/issues/284#issuecomment-325711734 and https://github.com/interledger/rfcs/pull/291#discussion_r137996186
Adding the length prefix is correct, because it's an ASN.1 Open Type. See https://www.itu.int/rec/T-REC-X.696-201408-S/en section 30:
https://github.com/interledgerjs/clp-packet/blob/master/index.js#L101 should probably just write
contents
, not a VarOctetString containing it?See also https://github.com/interledger/rfcs/issues/284#issuecomment-325711734 and https://github.com/interledger/rfcs/pull/291#discussion_r137996186