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

committer: fix txDetails generation bug #228

Merged

Conversation

lightning-li
Copy link
Contributor

Description

When tx needs generate empty account details, Prepare function doesn't mark the empty asset id dirty, thus the balance of txDetails would be "null" which cause witness panic.

Rationale

Example

Changes

Notable changes:

  • Mark empty account types.EmptyAccountAssetId as dirty

@lightning-li lightning-li added the ready for review ready for review label Oct 18, 2022
@lightning-li lightning-li merged commit 43d22cb into bnb-chain:develop Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants