Commit a0c9738
authored
Ensure that editing a tx from a transfer to a simple send resets data and updates type (#15248)
* Ensure that editing a transaction from a transfer to a simple send properly resets data and updates type
* Handle case where there are no unapproved txes
* Improve comment in updateSendAsset
* Remove unnecessary code in send transaction edit function
* Fix
* Ensure hex data is properly reset when changing from a safe transfer from tx to native send1 parent 9e18149 commit a0c9738
File tree
3 files changed
+27
-4
lines changed- app/scripts/controllers/transactions
- ui
- ducks/send
- store
3 files changed
+27
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
466 | 469 | | |
467 | 470 | | |
468 | 471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| 940 | + | |
940 | 941 | | |
941 | 942 | | |
942 | 943 | | |
| |||
1963 | 1964 | | |
1964 | 1965 | | |
1965 | 1966 | | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
1966 | 1970 | | |
1967 | 1971 | | |
1968 | 1972 | | |
| |||
1981 | 1985 | | |
1982 | 1986 | | |
1983 | 1987 | | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
1984 | 2002 | | |
1985 | 2003 | | |
1986 | 2004 | | |
| |||
2217 | 2235 | | |
2218 | 2236 | | |
2219 | 2237 | | |
2220 | | - | |
2221 | | - | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
2222 | 2242 | | |
2223 | 2243 | | |
2224 | 2244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
| 748 | + | |
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| |||
0 commit comments