Merge CCoinsViewCache's GetOutputFor and AccessCoin

They're doing the same thing now.
This commit is contained in:
Pieter Wuille
2017-04-26 16:09:27 -07:00
parent 580b023092
commit 119e552f7c
4 changed files with 5 additions and 14 deletions

View File

@@ -272,8 +272,6 @@ public:
//! Check whether all prevouts of the transaction are present in the UTXO set represented by this view
bool HaveInputs(const CTransaction& tx) const;
const CTxOut &GetOutputFor(const CTxIn& input) const;
private:
CCoinsMap::iterator FetchCoins(const COutPoint &outpoint) const;