CodeChain-io / codechain

CodeChain's official implementation in Rust.
https://codechain.io/
GNU Affero General Public License v3.0
259 stars 51 forks source link

An invalid seq on the current queue #1485

Open sgkim126 opened 5 years ago

sgkim126 commented 5 years ago

I found a non-continuous seq on the current pending queue. It violates the assumption of the mempool.

sgkim126 commented 5 years ago

It occurred to me that the mempool doesn't move the following transactions to the future queue when the invalid transaction is removed. I'll check it. https://github.com/CodeChain-io/codechain/pull/1487 I made a unit test. It was not a problem.