mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2024-12-27 23:40:16 +08:00
588ab36ce8
This is a "more correct" API and we might as well fix this before it becomes used all over the place. The new API returns ErrNoPublicKey when there is no inlined key. This *also* fixes a bug where the datastore-backed keystore would panic if `ExtractPublicKey` returned `nil, nil`. |
||
---|---|---|
.. | ||
addr_book_suite.go | ||
benchmarks_suite.go | ||
keybook_suite.go | ||
peerstore_suite.go | ||
utils.go |