From 0f30b81d8e9c1288a6ec98ab569fc7a8e4d8e873 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 7 Dec 2020 09:16:40 -0500 Subject: [PATCH] zzzzzz --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 8d5b9d371..ed17bdee9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2907,7 +2907,7 @@ static bool ApplyTxInUndo(const CTxInUndo& undo, CCoinsViewCache& view, const CO } -void ConnectNotarisations(const CBlock &block, int height) +void ConnectNotarizations(const CBlock &block, int height) { // Record Notarisations NotarisationsInBlock notarisations = ScanBlockNotarisations(block, height); @@ -2922,7 +2922,7 @@ void ConnectNotarisations(const CBlock &block, int height) } -void DisconnectNotarisations(const CBlock &block) +void DisconnectNotarizations(const CBlock &block) { // Delete from notarisations cache NotarisationsInBlock nibs; @@ -3652,7 +3652,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin setDirtyBlockIndex.insert(pindex); } - ConnectNotarisations(block, pindex->GetHeight()); // MoMoM notarisation DB. + ConnectNotarizations(block, pindex->GetHeight()); // MoMoM notarisation DB. if (fTxIndex) if (!pblocktree->WriteTxIndex(vPos)) @@ -3907,7 +3907,7 @@ bool static DisconnectTip(CValidationState &state, bool fBare = false) { if (!DisconnectBlock(block, state, pindexDelete, view)) return error("DisconnectTip(): DisconnectBlock %s failed", pindexDelete->GetBlockHash().ToString()); assert(view.Flush()); - DisconnectNotarisations(block); + DisconnectNotarizations(block); } pindexDelete->segid = -2; pindexDelete->nNotaryPay = 0;