Browse Source

Bugfix: add missing fee check

0.8
Pieter Wuille 12 years ago
parent
commit
9e957fb3b1
  1. 3
      src/main.cpp

3
src/main.cpp

@ -1597,6 +1597,9 @@ bool CBlock::ConnectBlock(CBlockIndex* pindex, CCoinsViewCache &view, bool fJust @@ -1597,6 +1597,9 @@ bool CBlock::ConnectBlock(CBlockIndex* pindex, CCoinsViewCache &view, bool fJust
blockundo.vtxundo.push_back(txundo);
}
if (vtx[0].GetValueOut() > GetBlockValue(pindex->nHeight, nFees))
return false;
if (fJustCheck)
return true;

Loading…
Cancel
Save