anacrolix / dht

dht is used by anacrolix/torrent, and is intended for use as a library in other projects both torrent related and otherwise
Mozilla Public License 2.0
309 stars 66 forks source link

args nil pointer fix #69

Closed ucwong closed 1 year ago

ucwong commented 1 year ago

https://github.com/anacrolix/dht/issues/68

anacrolix commented 1 year ago

@ucwong I think it might actually be an error case to not have seq set. I will include your fix for a probable panic, but what do you think about returning an error if no seq is provided?

anacrolix commented 1 year ago

Ok I made that fix, and pushed v2.20.0.