Skip to content

Sometimes mined tx is not removed from tx pool #2998

@Pana

Description

@Pana

假设某笔交易的 nonce 为 9, 发送到交易池后没有被执行, 后提高 gasPrice 发送了 同样 nonce 的交易, 后边这笔交易被打包执行后, 之前那笔还可以通过 hash 调用 cfx_getTransactionByHash 查询到.

这应该是交易池的替换逻辑有问题, 相同 nonce 的旧交易应该被替换掉

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions