Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handle existential deposits in transfers #36

Open
steinerkelvin opened this issue Apr 10, 2024 · 0 comments
Open

Better handle existential deposits in transfers #36

steinerkelvin opened this issue Apr 10, 2024 · 0 comments
Assignees

Comments

@steinerkelvin
Copy link
Contributor

Currently, we are subtracting the "existential deposit" from the transfer amount before doing transfers.

This should be handled in another way.

   def transfer(
            self,
            key: Keypair,
            amount: int,
            dest: Ss58Address,
    ) -> ExtrinsicReceipt:
    # ...
    amount = amount - self.get_existential_deposit()
@steinerkelvin steinerkelvin added bug Something isn't working enhancement New feature or request labels Apr 10, 2024
@EdSDR EdSDR removed bug Something isn't working enhancement New feature or request labels Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants