Hush notarization database is too legit to quit

This commit is contained in:
Duke Leto
2020-12-07 10:00:00 -05:00
parent e8e615c9d9
commit 763c2def95
5 changed files with 13 additions and 13 deletions

View File

@@ -9,7 +9,7 @@
#include "main.h"
#include <boost/foreach.hpp>
NotarizationDB *pnotarisations;
NotarizationDB *pnotarizations;
NotarizationDB::NotarizationDB(size_t nCacheSize, bool fMemory, bool fWipe) : CDBWrapper(GetDataDir() / "notarizations", nCacheSize, fMemory, fWipe, false, 64) { }
NotarisationsInBlock ScanBlockNotarizations(const CBlock &block, int nHeight)
@@ -55,13 +55,13 @@ NotarisationsInBlock ScanBlockNotarizations(const CBlock &block, int nHeight)
bool GetBlockNotarisations(uint256 blockHash, NotarisationsInBlock &nibs)
{
return pnotarisations->Read(blockHash, nibs);
return pnotarizations->Read(blockHash, nibs);
}
bool GetBackNotarisation(uint256 notarisationHash, Notarisation &n)
{
return pnotarisations->Read(notarisationHash, n);
return pnotarizations->Read(notarisationHash, n);
}