From eb90367fc4fc666786398ab9803b77bfb900c661 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Mon, 29 May 2017 13:37:08 +0200 Subject: Port over signOrderHashAsync --- src/utils/utils.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils') 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'); + }, }; -- cgit