| 6 | |
| 7 | namespace wallet { |
| 8 | bool CWalletTx::IsEquivalentTo(const CWalletTx& _tx) const |
| 9 | { |
| 10 | CMutableTransaction tx1 {*this->tx}; |
| 11 | CMutableTransaction tx2 {*_tx.tx}; |
| 12 | for (auto& txin : tx1.vin) txin.scriptSig = CScript(); |
| 13 | for (auto& txin : tx2.vin) txin.scriptSig = CScript(); |
| 14 | return CTransaction(tx1) == CTransaction(tx2); |
| 15 | } |
| 16 | |
| 17 | bool CWalletTx::InMempool() const |
| 18 | { |
no test coverage detected