Browse Source

bitcoreCash version guard

master
Matias Alejo Garcia 8 years ago
parent
commit
8672f93f89
No known key found for this signature in database GPG Key ID: 2470DB551277AB3
  1. 4
      index.js

4
index.js

@ -12,8 +12,8 @@ bitcore.versionGuard = function(version) {
throw new Error(message);
}
};
bitcore.versionGuard(global._bitcore);
global._bitcore = bitcore.version;
bitcore.versionGuard(global._bitcoreCash);
global._bitcoreCash = bitcore.version;
// crypto
bitcore.crypto = {};

Loading…
Cancel
Save