fix extend

This commit is contained in:
Manuel Araoz 2015-01-13 20:11:40 -03:00
parent 1e27d53318
commit f2eeb7664e

View File

@ -56,5 +56,6 @@ traverseRoot(bitcore.Error, data);
module.exports = bitcore.Error;
module.exports.extend = function(spec) {
traverseRoot(bitcore.Error, spec);
traverseNode(bitcore.Error, spec);
return bitcore.Error;
};