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

txdb: account for REGISTER in locked balances #64

Merged
merged 1 commit into from
Sep 28, 2018
Merged

txdb: account for REGISTER in locked balances #64

merged 1 commit into from
Sep 28, 2018

Conversation

boymanjor
Copy link
Contributor

Previously, locked balances did not update once a name was registered.
This commit decrements the locked balance by the winner's bid, then
increments the locked balance by the value of the second highest bid.

Fixes #62.

@turbomaze
Copy link
Contributor

I wrote a script to create two wallets, make bids, reveal, redeem, register, and print out the final balances, and it's working as expected! Great!

@boymanjor boymanjor merged commit 62d2c3d into master Sep 28, 2018
@boymanjor boymanjor deleted the wallet branch March 10, 2019 13:47
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.

2 participants