diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-17 06:31:36 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-07-18 20:22:13 +0800 |
commit | 25417fad26566ca3f6e3ccbc4bf6508239f90e58 (patch) | |
tree | 8f9e7767b4bac66062f8e562699d86aa68265b76 /ui/app/reducers | |
parent | 3f9c3d76b6edb70f91363c1e0787707ed1440c41 (diff) | |
download | tangerine-wallet-browser-25417fad26566ca3f6e3ccbc4bf6508239f90e58.tar tangerine-wallet-browser-25417fad26566ca3f6e3ccbc4bf6508239f90e58.tar.gz tangerine-wallet-browser-25417fad26566ca3f6e3ccbc4bf6508239f90e58.tar.bz2 tangerine-wallet-browser-25417fad26566ca3f6e3ccbc4bf6508239f90e58.tar.lz tangerine-wallet-browser-25417fad26566ca3f6e3ccbc4bf6508239f90e58.tar.xz tangerine-wallet-browser-25417fad26566ca3f6e3ccbc4bf6508239f90e58.tar.zst tangerine-wallet-browser-25417fad26566ca3f6e3ccbc4bf6508239f90e58.zip |
Add updateSendHexData action
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/metamask.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js index 6c8ac9ed7..3f1d3394f 100644 --- a/ui/app/reducers/metamask.js +++ b/ui/app/reducers/metamask.js @@ -222,6 +222,14 @@ function reduceMetamask (state, action) { }, }) + case actions.UPDATE_SEND_HEX_DATA: + return extend(metamaskState, { + send: { + ...metamaskState.send, + data: action.value, + }, + }) + case actions.UPDATE_SEND_FROM: return extend(metamaskState, { send: { |