aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/utils/utils.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-01-30 20:45:44 +0800
committerGitHub <noreply@github.com>2018-01-30 20:45:44 +0800
commit7603cef3084a33b8a55b3db363c7197694e7396c (patch)
tree907ca6c0b7773e1b8153ab84a44b56634e8833d5 /packages/0x.js/src/utils/utils.ts
parentad52a82190259580f00b3a06b06ef1e950ccdc68 (diff)
parentbe370c4e192b642eeaf52a970a2f0addf459605c (diff)
downloaddexon-sol-tools-7603cef3084a33b8a55b3db363c7197694e7396c.tar
dexon-sol-tools-7603cef3084a33b8a55b3db363c7197694e7396c.tar.gz
dexon-sol-tools-7603cef3084a33b8a55b3db363c7197694e7396c.tar.bz2
dexon-sol-tools-7603cef3084a33b8a55b3db363c7197694e7396c.tar.lz
dexon-sol-tools-7603cef3084a33b8a55b3db363c7197694e7396c.tar.xz
dexon-sol-tools-7603cef3084a33b8a55b3db363c7197694e7396c.tar.zst
dexon-sol-tools-7603cef3084a33b8a55b3db363c7197694e7396c.zip
Merge pull request #349 from 0xProject/fix/0x.js/signOrderHash
Add shouldAddPersonalMessagePrefix param to signOrderHashAsync
Diffstat (limited to 'packages/0x.js/src/utils/utils.ts')
-rw-r--r--packages/0x.js/src/utils/utils.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/0x.js/src/utils/utils.ts b/packages/0x.js/src/utils/utils.ts
index e42a1a853..42cf5d956 100644
--- a/packages/0x.js/src/utils/utils.ts
+++ b/packages/0x.js/src/utils/utils.ts
@@ -20,12 +20,6 @@ export const utils = {
// tslint:disable-next-line: no-console
console.log(message);
},
- isParityNode(nodeVersion: string): boolean {
- return _.includes(nodeVersion, 'Parity');
- },
- isTestRpc(nodeVersion: string): boolean {
- return _.includes(nodeVersion, 'TestRPC');
- },
spawnSwitchErr(name: string, value: any): Error {
return new Error(`Unexpected switch value: ${value} encountered for ${name}`);
},