minor fixes to Blockchain.cpp