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

Chain Transfer Issue #1

Open
illusionist-moon opened this issue Dec 5, 2024 · 0 comments
Open

Chain Transfer Issue #1

illusionist-moon opened this issue Dec 5, 2024 · 0 comments

Comments

@illusionist-moon
Copy link

Description

I create Alice
Alice creates an asset
Alice transfers the Asset to Bob (succeed)
Bob wants to transfer the Asset to Rob --> Message:Invalid transaction (AssetIdMismatch): The asset id of the input does not match the asset id of the transaction Status:400

I think the reason for the failure is similar to what was described in bigchaindb/bigchaindb-driver#330, Specifically, the mistake may lie here

ID: owner.TxID,

The assed_id here should be the ID when Alice first created the asset, not the transaction ID when Alice transferred it to Bob. The first transfer was successful because the asset ID happened to be the transaction ID when Alice created the asset.

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

1 participant