From cabbfffbdf69d698be5f0f4c8df374000d0212da Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 19 Jan 2012 14:10:14 -0800 Subject: [PATCH] Remove debug we don't need. --- AccountState.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/AccountState.cpp b/AccountState.cpp index a8e1cef71d..b24c779d5c 100644 --- a/AccountState.cpp +++ b/AccountState.cpp @@ -8,10 +8,6 @@ AccountState::AccountState(const std::vector& v) if(!s.get160(mAccountID, 0)) { assert(false); return; } if(!s.get64(mBalance, 20)) { assert(false); return; } if(!s.get32(mAccountSeq, 28)) { assert(false); return; } -#ifdef DEBUG - std::cerr << "SerializeAccount >> " << mAccountID.GetHex() << ", " << mBalance << ", " << mAccountSeq << - std::endl; -#endif mValid=true; } @@ -24,12 +20,5 @@ std::vector AccountState::getRaw() const s.add160(mAccountID); s.add64(mBalance); s.add32(mAccountSeq); -#ifdef DEBUG - std::cerr << "SerializeAccount << " << mAccountID.GetHex() << ", " << mBalance << ", " << mAccountSeq << - std::endl; - uint64 test; - assert(s.get64(test, 20)); - assert(test==mBalance); -#endif return s.getData(); }