Skip to content

Commit 71cabec

Browse files
author
Sarah Bush
committed
update addNetwork (lodash removal changes)
1 parent 65d42f3 commit 71cabec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/bitcore-lib/lib/networks.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ function get(arg, keys) {
3434
keys = [keys];
3535
}
3636
for (var index in networks) {
37-
if (keys.some(key => networks[index][key] === arg)) {
37+
if (keys.some(function(key) {
38+
return networks[index][key] === arg;
39+
})) {
3840
return networks[index];
3941
}
4042
}

0 commit comments

Comments
 (0)