diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-07 15:11:04 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-07 15:11:04 +0200 |
commit | 8048de268a613962fd85b02a8cf97aec48555360 (patch) | |
tree | 3453f58e742f3471f0758f86a64c70b1730c76ea /src/cryptonote_core/blockchain.h | |
parent | Merge pull request #2215 (diff) | |
parent | blockchain: fix cryptonight buffer leak on exit (diff) | |
download | monero-8048de268a613962fd85b02a8cf97aec48555360.tar.xz |
Merge pull request #2216
d8becf2e blockchain: fix cryptonight buffer leak on exit (moneromooo-monero)
91aa90fc blockchain: ensure all blocks get their longhash precalculated (moneromooo-monero)
ff4bcaed blockchain: pass correct height to get_block_longhash (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r-- | src/cryptonote_core/blockchain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h index 4f2e4f0d3..564b53af3 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -846,7 +846,7 @@ namespace cryptonote * @param blocks the blocks to be hashed * @param map return-by-reference the hashes for each block */ - void block_longhash_worker(const uint64_t height, const std::vector<block> &blocks, + void block_longhash_worker(uint64_t height, const std::vector<block> &blocks, std::unordered_map<crypto::hash, crypto::hash> &map) const; /** |