File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -2229,27 +2229,6 @@ export function signTransaction() {
22292229 ) ,
22302230 } ;
22312231
2232- // If, after edit, we are sending the native asset,
2233- // and if the send duck hex data was reset on this edit,
2234- // and if the hex data from the tx's background state matches
2235- // one of the special token methods that we handle,
2236- // then we conclude that the user does not want to send hex data,
2237- // and ensure it gets reset in the background state as well.
2238- const sendingNativeAsset =
2239- draftTransaction . asset . type === ASSET_TYPES . NATIVE ;
2240- const userInputHexDataHasBeenReset =
2241- draftTransaction . userInputHexData === '' ;
2242- const priorHexDataMatchesSpecialTokenTxSignatures =
2243- parseStandardTokenTransactionData ( editingTx . txParams . data ) !==
2244- undefined ;
2245- if (
2246- sendingNativeAsset &&
2247- userInputHexDataHasBeenReset &&
2248- priorHexDataMatchesSpecialTokenTxSignatures
2249- ) {
2250- editingTx . txParams . data = '' ;
2251- }
2252-
22532232 await dispatch (
22542233 addHistoryEntry (
22552234 `sendFlow - user clicked next and transaction should be updated in controller` ,
You can’t perform that action at this time.
0 commit comments