dont capitalize deterministic id as change is being made in data-node (#293)

This commit is contained in:
Matthew Russell 2022-04-25 06:39:09 -07:00 committed by GitHub
parent 899277e6d4
commit 037108b4d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ test('Create an Id if a signature is returned', async () => {
const signature = const signature =
'597a7706491e6523c091bab1e4d655b62c45a224e80f6cd92ac366aa5dd9a070cc7dd3c6919cb07b81334b876c662dd43bdbe5e827c8baa17a089feb654fab0b'; '597a7706491e6523c091bab1e4d655b62c45a224e80f6cd92ac366aa5dd9a070cc7dd3c6919cb07b81334b876c662dd43bdbe5e827c8baa17a089feb654fab0b';
const expectedId = const expectedId =
'2FE09B0E2E6ED35F8883802629C7D609D3CC2FC9CE3CEC0B7824A0D581BD3747'; '2fe09b0e2e6ed35f8883802629c7d609d3cc2fc9ce3cec0b7824a0d581bd3747';
const successObj = { const successObj = {
tx: { tx: {
inputData: 'input-data', inputData: 'input-data',

View File

@ -112,7 +112,7 @@ export const useOrderSubmit = (market: UseOrderSubmitMarket) => {
}); });
if (res?.signature) { if (res?.signature) {
setId(determineId(res.signature).toUpperCase()); setId(determineId(res.signature));
} }
}, },
[market, keypair, send] [market, keypair, send]