Skip to content

Commit

Permalink
fix issue with setting hex data
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-decker committed May 20, 2021
1 parent 5be956c commit a3404c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/ducks/send/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ const slice = createSlice({
* hex data used in the transaction will be that for interacting with the
* ERC20 contract
*/
updateUserInputHexData: (state, payload) => {
state.draftTransaction.userInputHexData = payload;
updateUserInputHexData: (state, action) => {
state.draftTransaction.userInputHexData = action.payload;
if (state.asset.type === ASSET_TYPES.NATIVE) {
slice.caseReducers.updateDraftTransaction(state);
}
Expand Down

0 comments on commit a3404c4

Please sign in to comment.