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

Fix GetNextTxNonce when transactions with old nonce are staged #637

Merged
merged 3 commits into from Nov 1, 2019

Conversation

earlbread
Copy link
Contributor

Fixed a bug where BlockChain<T>.GetNextTxNonce only returned the same nonce when transactions with an old nonce were staged.

@earlbread earlbread self-assigned this Oct 30, 2019
@codecov
Copy link

codecov bot commented Oct 30, 2019

Codecov Report

Merging #637 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #637      +/-   ##
==========================================
+ Coverage   88.22%   88.25%   +0.02%     
==========================================
  Files         217      217              
  Lines       17134    17174      +40     
==========================================
+ Hits        15117    15157      +40     
  Misses       1141     1141              
  Partials      876      876
Impacted Files Coverage Δ
Libplanet.Tests/Blockchain/BlockChainTest.cs 98.74% <100%> (+0.03%) ⬆️
Libplanet/Blockchain/BlockChain.cs 94.22% <100%> (+0.03%) ⬆️

Libplanet/Blockchain/BlockChain.cs Outdated Show resolved Hide resolved
Libplanet.Tests/Blockchain/BlockChainTest.cs Outdated Show resolved Hide resolved
longfin
longfin previously approved these changes Oct 30, 2019
longfin
longfin previously approved these changes Oct 31, 2019
limebell
limebell previously approved these changes Oct 31, 2019
longfin
longfin previously approved these changes Nov 1, 2019
moreal
moreal previously approved these changes Nov 1, 2019
@longfin longfin requested a review from moreal November 1, 2019 04:21
@longfin longfin merged commit 353003a into planetarium:master Nov 1, 2019
@earlbread earlbread deleted the fix-get-next-tx-nonce branch November 1, 2019 05:08
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.

None yet

4 participants