aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2020-01-08 17:31:14 +1100
committerIan Coleman <ian@iancoleman.io>2020-01-08 17:31:14 +1100
commitd07983bc1fa691821cc2580ce4490638cee4f630 (patch)
tree23d5bc620f9a1775828cd4a3404917029e835971 /libs
parent3aa7677ace4f318dfeec8f28469f5862b0599c4e (diff)
downloadBIP39-d07983bc1fa691821cc2580ce4490638cee4f630.tar.gz
BIP39-d07983bc1fa691821cc2580ce4490638cee4f630.tar.zst
BIP39-d07983bc1fa691821cc2580ce4490638cee4f630.zip
Catch nebulas error on some chrome configs
See #395
Diffstat (limited to 'libs')
-rw-r--r--libs/combined/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/combined/index.js b/libs/combined/index.js
index 1de5b92..6760e0c 100644
--- a/libs/combined/index.js
+++ b/libs/combined/index.js
@@ -54,7 +54,13 @@ module.exports.kjua = require('kjua')
54 54
55/* nebulas */ 55/* nebulas */
56 56
57try {
57module.exports.nebulas = require('nebulas') 58module.exports.nebulas = require('nebulas')
59}
60catch (e) {
61 console.warn("Error loading nebulas library");
62 console.warn(e);
63};
58 64
59/* stellar-util */ 65/* stellar-util */
60 66