diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-11-11 13:01:27 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-12-21 18:18:28 -0800 |
commit | 6713f0f142d97b4608c95a3ea03b4b670fceab2b (patch) | |
tree | fb1ea76626fcb165c700ed63a963a4dfc19f36fa /src/blockencodings.h | |
parent | 62607d796cd93bfc5ce4ee5050c93cf0ca80ba91 (diff) |
Make FillBlock consume txn_available to avoid shared_ptr copies
Diffstat (limited to 'src/blockencodings.h')
-rw-r--r-- | src/blockencodings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockencodings.h b/src/blockencodings.h index 27baf1f8f8..809ccbf936 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -202,7 +202,7 @@ public: ReadStatus InitData(const CBlockHeaderAndShortTxIDs& cmpctblock); bool IsTxAvailable(size_t index) const; - ReadStatus FillBlock(CBlock& block, const std::vector<CTransactionRef>& vtx_missing) const; + ReadStatus FillBlock(CBlock& block, const std::vector<CTransactionRef>& vtx_missing); }; #endif |