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

Fixed a bug in BlockChain<T>.GetNextTxNonce #718

Merged
merged 2 commits into from
Dec 11, 2019

Conversation

limebell
Copy link
Member

It had returned duplicated tx nonce when prevNonce is in staged transactions somehow.

@limebell limebell self-assigned this Dec 11, 2019
@codecov
Copy link

codecov bot commented Dec 11, 2019

Codecov Report

Merging #718 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #718      +/-   ##
==========================================
+ Coverage   86.64%   86.64%   +<.01%     
==========================================
  Files         221      221              
  Lines       18681    18685       +4     
==========================================
+ Hits        16186    16190       +4     
  Misses       1338     1338              
  Partials     1157     1157
Impacted Files Coverage Δ
Libplanet.Tests/Blockchain/BlockChainTest.cs 98.65% <100%> (ø) ⬆️
Libplanet/Blockchain/BlockChain.cs 90.88% <100%> (ø) ⬆️

earlbread
earlbread previously approved these changes Dec 11, 2019
@longfin longfin merged commit d6f49a1 into planetarium:master Dec 11, 2019
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.

5 participants