Remove use of GetTransactionAncestry in wallet code

This commit does not change behavior.
This commit is contained in:
Russell Yanofsky
2017-07-28 19:42:27 -04:00
parent 291276f7f4
commit cd32160af0
3 changed files with 9 additions and 1 deletions

View File

@@ -196,6 +196,10 @@ public:
auto it_mp = ::mempool.mapTx.find(txid);
return it_mp != ::mempool.mapTx.end() && it_mp->GetCountWithDescendants() > 1;
}
void getTransactionAncestry(const uint256& txid, size_t& ancestors, size_t& descendants) override
{
::mempool.GetTransactionAncestry(txid, ancestors, descendants);
}
};
} // namespace