network: fix isNetwork.

This commit is contained in:
Christopher Jeffrey 2017-05-25 23:26:20 -07:00
parent 76c20eddf1
commit e8fd4db0d6
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -378,7 +378,6 @@ Network.prototype.inspect = function inspect() {
Network.isNetwork = function isNetwork(obj) {
return obj
&& typeof obj.getMinRelay === 'function'
&& typeof obj.genesisBlock === 'string'
&& typeof obj.pow === 'object';
};