diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-07-28 19:42:27 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-02-22 15:43:02 -0400 |
commit | cd32160af0528cc746968ee0eadf4f63c98665f2 (patch) | |
tree | 38c2df53e845cb7c3206507ca23d7a5d59a75e72 /src/interfaces/chain.cpp | |
parent | 291276f7f40df9fcd62e54c016953705bf0ed04a (diff) | |
download | bitcoin-cd32160af0528cc746968ee0eadf4f63c98665f2.tar.xz |
Remove use of GetTransactionAncestry in wallet code
This commit does not change behavior.
Diffstat (limited to 'src/interfaces/chain.cpp')
-rw-r--r-- | src/interfaces/chain.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/chain.cpp b/src/interfaces/chain.cpp index 8c5921970b..d7bad0543c 100644 --- a/src/interfaces/chain.cpp +++ b/src/interfaces/chain.cpp @@ -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 |