network: fix isNetwork.
This commit is contained in:
parent
76c20eddf1
commit
e8fd4db0d6
@ -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';
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user