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

NFT parent token do not get burned immediately upon child genesis. #81

Open
mainnet-pat opened this issue Feb 16, 2021 · 1 comment
Open

Comments

@mainnet-pat
Copy link

Hi, I've seemingly discovered a bug in SLPDB.
When doing an NFT child genesis SLPDB does not check for parent token burns until a new block arrives.
This results in the queries to SlpServe to return stale results about parent token amounts and lead to a double spend attempts.

On my regtest node I do following:

  1. Create a parent token with the quantity 1
  2. Ask slpdb about the parent token to prepare the input
  3. Create child token by spending the parent token as BCH
  4. Ask slpdb about the parent token to check it was burned

Steps 2 and 4 yield the same result from graph database. Unless there is a block mined between 3. and 4, then I see burnSearch-xxx in the SLPDB logs and graphItemsUpsert updates the graph db.

pat.

@SuperCipher
Copy link

I got this issue as well. When we trying to created near real time application using slp token. I have report this on Slpdb-operator telegram before.

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

2 participants