omni-network / omni

Monorepo for Omni node, contracts and other related tools

Home Page:https://omni.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Txmgr always returns first tx even if resubmitted

corverroos opened this issue · comments

Problem to solve:

  • lib/txmgr.*simple.doSend always returns the first tx crafted from the candidate.
  • If the tx is re-crafted, and the resubmitted tx gets mined, it returns the incorrect tx.
  • This can and did result in incorrect tx-not-mined errors.

Proposed solution:

  • Return the actual mined tx