We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97745fa commit 9514f02Copy full SHA for 9514f02
ui/ducks/send/send.js
@@ -938,12 +938,6 @@ const slice = createSlice({
938
draftTransaction.asset.balance = asset.balance;
939
draftTransaction.asset.error = asset.error;
940
941
- // If an asset update occurs that changes the type from 'NATIVE' to
942
- // 'NATIVE' then this is likely the initial asset set of an edit
943
- // transaction. We don't need to set the amount to zero in this case.
944
- // The only times where an update would occur of this nature that we
945
- // would want to set the amount to zero is on a network or account change
946
- // but that update is handled elsewhere.
947
if (
948
draftTransaction.asset.type === ASSET_TYPES.TOKEN ||
949
draftTransaction.asset.type === ASSET_TYPES.COLLECTIBLE
0 commit comments