18 - Changing all hostname to host, fixing some async issues in tests
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
module.exports = function GossipSeed(endPoint, hostName) {
|
||||
//if (typeof endPoint !== 'object' || !endPoint.hostname || !endPoint.port) throw new TypeError('endPoint must be have hostname and port properties.');
|
||||
if (typeof endPoint !== 'object' || !endPoint.host || !endPoint.port) throw new TypeError('endPoint must be have host and port properties.');
|
||||
Object.defineProperties(this, {
|
||||
endPoint: {
|
||||
enumerable: true,
|
||||
|
Reference in New Issue
Block a user