aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils/test
diff options
context:
space:
mode:
Diffstat (limited to 'packages/utils/test')
-rw-r--r--packages/utils/test/sign_typed_data_utils_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/utils/test/sign_typed_data_utils_test.ts b/packages/utils/test/sign_typed_data_utils_test.ts
index e1cb4f6e1..dcba08b04 100644
--- a/packages/utils/test/sign_typed_data_utils_test.ts
+++ b/packages/utils/test/sign_typed_data_utils_test.ts
@@ -127,12 +127,12 @@ describe('signTypedDataUtils', () => {
primaryType: 'Order',
};
it('creates a hash of the test sign typed data', () => {
- const hash = signTypedDataUtils.signTypedDataHash(simpleSignTypedData).toString('hex');
+ const hash = signTypedDataUtils.generateTypedDataHash(simpleSignTypedData).toString('hex');
const hashHex = `0x${hash}`;
expect(hashHex).to.be.eq(simpleSignTypedDataHashHex);
});
it('creates a hash of the order sign typed data', () => {
- const hash = signTypedDataUtils.signTypedDataHash(orderSignTypedData).toString('hex');
+ const hash = signTypedDataUtils.generateTypedDataHash(orderSignTypedData).toString('hex');
const hashHex = `0x${hash}`;
expect(hashHex).to.be.eq(orderSignTypedDataHashHex);
});