dsfx/internal
Dustin Stiles d6cf91916f
fix(internal/peer): read admins file correctly
Previously, the 'keyRaw' slice was being allocated with a length of 0.
However, the 'Read()' function will only read up to the slice's length.
Together, this means that we always read 0 bytes from the admins file.
Now, we can use the 'io.ReadAll()' function to read all of the admins
file before parsing.
2025-03-24 12:41:56 -04:00
..