ChainSafe / discv5

A Typescript implementation of the Discv5 protocol
Apache License 2.0
28 stars 15 forks source link

fix: delete signature on enr.delete #238

Closed wemeetagain closed 1 year ago

wemeetagain commented 1 year ago

The cached signature should be deleted when enr keys are deleted. Otherwise, when the enr is serialized, it will write an invalid signature instead of requiring a new signature to be crafted.