| 7635 | } |
| 7636 | |
| 7637 | int GetSpendHeight(const CCoinsViewCache& inputs) |
| 7638 | { |
| 7639 | LOCK(cs_main); |
| 7640 | CBlockIndex* pindexPrev = mapBlockIndex.find(inputs.GetBestBlock())->second; |
| 7641 | return pindexPrev->nHeight + 1; |
| 7642 | } |
| 7643 | |
| 7644 | class CMainCleanup |
| 7645 | { |
no test coverage detected