We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb6701 commit d14395bCopy full SHA for d14395b
src/netaddress.h
@@ -386,6 +386,12 @@ class CNetAddr
386
387
/**
388
* Unserialize from a pre-ADDRv2/BIP155 format from an array.
389
+ *
390
+ * This function is only called from UnserializeV1Stream() and is a wrapper
391
+ * for SetLegacyIPv6(); however, we keep it for symmetry with
392
+ * SerializeV1Array() to have pairs of ser/unser functions and to make clear
393
+ * that if one is altered, a corresponding reverse modification should be
394
+ * applied to the other.
395
*/
396
void UnserializeV1Array(uint8_t (&arr)[V1_SERIALIZATION_SIZE])
397
{
0 commit comments