hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.
MIT License
150 stars 15 forks source link

Info should not override secretKey #5

Closed andrewosh closed 3 years ago

andrewosh commented 3 years ago

If a keyPair is set by the preload option, then the Info should not override it.

Edit: Instead of overriding info, I added an options to Info so that it supports other values that might be passed in through preload. Right now only secretKey.