LiskArchive / lisk-engine

:bullettrain_front: Lisk blockchain engine
https://lisk.com
Apache License 2.0
0 stars 0 forks source link

Invalid use of `peerID string` #90

Closed shuse2 closed 1 year ago

shuse2 commented 1 year ago

Expected behavior

When starting NAT example on the second terminal, it crashes

Actual behavior

NAT example app should work as expected

Steps to reproduce

Start NAT example with 2 terminals

Additional Information

when requesting with peerID, it internally converts to peer.ID(peerID) from string to PeerID. Although type of PeerID is string the conversion will not work