disable peer id check

This commit is contained in:
vms 2020-02-23 19:51:57 +03:00
parent 1dbcfa88b6
commit 20869992a2

View File

@ -65,7 +65,7 @@ exports.identify = async (state, msg) => {
// If we know who we are dialing to, double check
if (state.id.remote) {
if (state.id.remote.toString() !== remoteId.toString()) {
throw new UnexpectedPeerError('Dialed to the wrong peer: IDs do not match!')
//throw new UnexpectedPeerError('Dialed to the wrong peer: IDs do not match!')
}
} else {
state.id.remote = remoteId