Skip to content

Commit b3c9e66

Browse files
committed
add a comment explaining why we assume trc20 transfer destinations as activated account
1 parent 214f0c6 commit b3c9e66

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

mm2src/coins/eth/eth_withdraw.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@ where
382382
}
383383
}
384384
},
385+
// No need for destination account to be activated in TRC20 transfers, so we just assume
386+
// it is activated and calculate the fees accordingly.
385387
EthCoinType::Erc20 { .. } => DestAccountState::Activated,
386388
EthCoinType::Nft { .. } => DestAccountState::Activated,
387389
};

0 commit comments

Comments
 (0)