Skip to content

Commit 9514f02

Browse files
committed
Fix
1 parent 97745fa commit 9514f02

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ui/ducks/send/send.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -938,12 +938,6 @@ const slice = createSlice({
938938
draftTransaction.asset.balance = asset.balance;
939939
draftTransaction.asset.error = asset.error;
940940

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.
947941
if (
948942
draftTransaction.asset.type === ASSET_TYPES.TOKEN ||
949943
draftTransaction.asset.type === ASSET_TYPES.COLLECTIBLE

0 commit comments

Comments
 (0)