You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nit: change an unexpected error condition to panic (#175)
`NetworkMessage::to_slice()` is only used in testing. Even when we start
using it in production, I do not imagine us writing code to handle the
situation that the buffer was too small and calling the function again
with a larger buffer so I think it is cleaner for the function to panic
if the buffer is not big enough.
0 commit comments