aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/utils.ts')
-rw-r--r--src/utils/utils.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/utils.ts b/src/utils/utils.ts
index b514b702d..2098a67b3 100644
--- a/src/utils/utils.ts
+++ b/src/utils/utils.ts
@@ -1,3 +1,4 @@
+import * as _ from 'lodash';
import * as BN from 'bn.js';
export const utils = {
@@ -15,4 +16,7 @@ export const utils = {
console.log(message);
/* tslint:enable */
},
+ isParityNode(nodeVersion: string): boolean {
+ return _.includes(nodeVersion, 'Parity');
+ },
};