galacticcouncil / galacticcouncil/hydration-node
Bug: transfer all with leftover get dusted
Open
- Dominant language
- Rust
- Stars
- 208
- Forks
- 109
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 3
Description
When someone transfer amount where leftover is less then ED, then the leftover get dusted and the account killed.
We could consider transferring all amount when the totalBalance - toBeSentAmount is smaller then ED.
We do the same for Atokens, but for that case we needed due tue rounding in AAVE contract: https://github.com/galacticcouncil/hydration-node/pull/1093
Contributor guide
Assessment
This issue has not been assessed yet.