diff options
author | Matt Corallo <git@bluematt.me> | 2017-01-12 12:20:11 -0800 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-01-12 12:20:11 -0800 |
commit | fac4c78028d132ee7becc1dc54a0c881ae1a0287 (patch) | |
tree | 279ba5b403821cc7750a12d1453c93a57faed2e8 /src/blockencodings.h | |
parent | b55b4163462756cbb2341294b839a881333d8f1e (diff) |
Make PartiallyDownloadedBlock::InitData's second param const
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 971476cbbd..281db9fe01 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -201,7 +201,7 @@ public: PartiallyDownloadedBlock(CTxMemPool* poolIn) : pool(poolIn) {} // extra_txn is a list of extra transactions to look at, in <witness hash, reference> form - ReadStatus InitData(const CBlockHeaderAndShortTxIDs& cmpctblock, std::vector<std::pair<uint256, CTransactionRef>>& extra_txn); + ReadStatus InitData(const CBlockHeaderAndShortTxIDs& cmpctblock, const std::vector<std::pair<uint256, CTransactionRef>>& extra_txn); bool IsTxAvailable(size_t index) const; ReadStatus FillBlock(CBlock& block, const std::vector<CTransactionRef>& vtx_missing); }; |