You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where chain is BlockChain<T> and nextBlock is Block<T>, chain.Append(nextBlock) should accept nextBlock only if nextBlock.Index == chain.Count, but the current implementation does not throw any exception.
The text was updated successfully, but these errors were encountered:
Where
chain is BlockChain<T>
andnextBlock is Block<T>
,chain.Append(nextBlock)
should acceptnextBlock
only ifnextBlock.Index == chain.Count
, but the current implementation does not throw any exception.The text was updated successfully, but these errors were encountered: