Browse Source

change versionGuard message

master
matiu 7 years ago
parent
commit
1b844080ff
  1. 2
      index.js

2
index.js

@ -6,7 +6,7 @@ var bitcore = module.exports;
bitcore.version = 'v' + require('./package.json').version;
bitcore.versionGuard = function(version) {
if (version !== undefined) {
var message = 'More than one instance of bitcore-lib found. ' +
var message = 'More than one instance of bitcore-lib-cash found. ' +
'Please make sure to require bitcore-lib and check that submodules do' +
' not also include their own bitcore-lib dependency.';
throw new Error(message);

Loading…
Cancel
Save