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

Unconfirmed premine gets swept with newly minted rune #4035

Open
danpaquin opened this issue Oct 29, 2024 · 1 comment
Open

Unconfirmed premine gets swept with newly minted rune #4035

danpaquin opened this issue Oct 29, 2024 · 1 comment
Labels

Comments

@danpaquin
Copy link

This may be resolved on newer versions of ord, but we've observed patterns where a newly etched premine may be swept to the destination address of a newly minted rune, specifically when you:

  • Etch a new rune with premine (no address provided)
  • Wait for maturation process to complete
  • Execute rune mint (with destination address) before etch reveal is confirmed
  • The newly etched premine amount may be swept with the freshly minted rune to the destination address
@casey
Copy link
Collaborator

casey commented Oct 29, 2024

Thanks for the report!

I was thinking that this could be due to ord failing to lock the premine output, due to the transaction not having been included in a block and indexed yet.

However, according to the docs for fundrawtransaction, you have to set include_unsafe to true, which is false by default, in order to select unconfirmed transactions.

In any case, we should see if we can reproduce this.

@raphjaph raphjaph added the bug label Nov 21, 2024
@raphjaph raphjaph added this to Tracker Nov 21, 2024
@raphjaph raphjaph moved this to To Do in Tracker Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To Do
Development

No branches or pull requests

3 participants