mocknet: use peer ID in peer address
RandLocalTCPAddress is mostly useful when we *actually* want to listen on a real address. Unfortunately, when running a bunch of tests, we can actually run out. With this change, a collision means we have a duplicate peer ID so yeah... fixes #473
Please register or sign in to comment