Browse Source

minor style cleanups

0.10
Philip Kaufmann 11 years ago
parent
commit
2b45345aac
  1. 1
      src/main.h
  2. 3
      src/test/checkblock_tests.cpp

1
src/main.h

@ -427,6 +427,7 @@ class CMerkleTx : public CTransaction
{ {
private: private:
int GetDepthInMainChainINTERNAL(CBlockIndex* &pindexRet) const; int GetDepthInMainChainINTERNAL(CBlockIndex* &pindexRet) const;
public: public:
uint256 hashBlock; uint256 hashBlock;
std::vector<uint256> vMerkleBranch; std::vector<uint256> vMerkleBranch;

3
src/test/checkblock_tests.cpp

@ -15,8 +15,7 @@
BOOST_AUTO_TEST_SUITE(CheckBlock_tests) BOOST_AUTO_TEST_SUITE(CheckBlock_tests)
bool bool read_block(const std::string& filename, CBlock& block)
read_block(const std::string& filename, CBlock& block)
{ {
namespace fs = boost::filesystem; namespace fs = boost::filesystem;
fs::path testFile = fs::current_path() / "data" / filename; fs::path testFile = fs::current_path() / "data" / filename;

Loading…
Cancel
Save