op-service/txmgr: Return previous tx if no updates
Return the same transaction if we don't update any fields. We do this because Ethereum signatures are not deterministic and therefore the transaction hash will change wwhen we re-sign the tx. We don't want to do that because we want to see ErrAlreadyKnown instead of ErrReplacementUnderpriced.
Showing
Please register or sign in to comment