simplify ChainstateManager::SnapshotBlockhash() return semantics

Don't return null snapshotblockhash values to avoid caller complexity/confusion.
This commit is contained in:
James O'Beirne committed 2021-02-12 07:53:29 -06:00
1 parent 7a6c46b37e
commit f6e2da5fb7
7 files changed
+348 -3

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
"txmempool -> validation -> txmempool"
"wallet/fees -> wallet/wallet -> wallet/fees"
"wallet/wallet -> wallet/walletdb -> wallet/wallet"
"node/coinstats -> validation -> node/coinstats"
)
EXIT_CODE=0