diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-08 03:58:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-08 03:58:19 +0800 |
commit | 8fba0477a69317c19b3446c76a17cb3adbf447d7 (patch) | |
tree | 7c0cc8f53f1c9e7fe7f5f6d3d1f7b8249edbdaa7 /packages/website/ts/redux/dispatcher.ts | |
parent | e6f2c7a382e2e7e940f430f350240cb2f703bdcd (diff) | |
download | dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.gz dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.bz2 dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.lz dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.xz dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.zst dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.zip |
Remove hash from signatureData
Diffstat (limited to 'packages/website/ts/redux/dispatcher.ts')
-rw-r--r-- | packages/website/ts/redux/dispatcher.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/redux/dispatcher.ts b/packages/website/ts/redux/dispatcher.ts index 87415b285..925f2aa29 100644 --- a/packages/website/ts/redux/dispatcher.ts +++ b/packages/website/ts/redux/dispatcher.ts @@ -1,3 +1,4 @@ +import { ECSignature } from '0x.js'; import { BigNumber } from '@0xproject/utils'; import { Dispatch } from 'redux'; import { State } from 'ts/redux/reducer'; @@ -10,7 +11,6 @@ import { ScreenWidths, Side, SideToAssetToken, - SignatureData, Token, TokenByAddress, } from 'ts/types'; @@ -148,10 +148,10 @@ export class Dispatcher { type: ActionTypes.ForceTokenStateRefetch, }); } - public updateSignatureData(signatureData: SignatureData) { + public updateECSignature(ecSignature: ECSignature) { this._dispatch({ - data: signatureData, - type: ActionTypes.UpdateOrderSignatureData, + data: ecSignature, + type: ActionTypes.UpdateOrderECSignature, }); } public updateUserEtherBalance(balance: BigNumber) { |