Skip to content

Conversation

@pinheadmz
Copy link
Member

Closes #381

Explanation here: #381 (comment)

TODO:

  • write unit test.

@pinheadmz pinheadmz changed the title wallet: always apply to unconf locked balance wallet: always apply balance deltas to lockedUnconfirmed balance Mar 8, 2020
Copy link
Contributor

@boymanjor boymanjor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work tracking this down. Standing by for tests before I do a full review.

@pinheadmz
Copy link
Member Author

@boymanjor yah standby indeed, this patch is wrong. I'm counting unconfirmed TXs twice. I think the approach needs to be more like #262

@pinheadmz
Copy link
Member Author

this approach was totally wrong, new PR is here: #387

@pinheadmz pinheadmz closed this Mar 10, 2020
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

Successfully merging this pull request may close these issues.

Assertion failed when calling sendredeem or sendupdate on imported wallet

2 participants