aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/utils/utils.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-01-30 19:38:44 +0800
committerFabio Berger <me@fabioberger.com>2018-01-30 19:38:44 +0800
commit1cadbeed88d2e5f413c8f7e39aaee6efcff89831 (patch)
tree3cede90b64c1b9f85feda80b7564526615ca7b24 /packages/0x.js/src/utils/utils.ts
parentad52a82190259580f00b3a06b06ef1e950ccdc68 (diff)
downloaddexon-0x-contracts-1cadbeed88d2e5f413c8f7e39aaee6efcff89831.tar.gz
dexon-0x-contracts-1cadbeed88d2e5f413c8f7e39aaee6efcff89831.tar.zst
dexon-0x-contracts-1cadbeed88d2e5f413c8f7e39aaee6efcff89831.zip
Add shouldAddPersonalMessagePrefix param to signOrderHashAsync instead of trying to infer whether to add it or not from the nodeVersion
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}`);
},