From 3fcdf3109607ac816ceb5d2679eae2a126241693 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 27 May 2012 15:54:06 -0700 Subject: [PATCH] Bugfix. --- src/Ledger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ledger.cpp b/src/Ledger.cpp index f987045a71..642018da8e 100644 --- a/src/Ledger.cpp +++ b/src/Ledger.cpp @@ -127,7 +127,7 @@ AccountState::pointer Ledger::getAccountState(const NewcoinAddress& accountID) #ifdef DEBUG // std::cerr << "Ledger:getAccountState(" << accountID.humanAccountID() << ")" << std::endl; #endif - ScopedLock l(mTransactionMap->Lock()); + ScopedLock l(mAccountStateMap->Lock()); SHAMapItem::pointer item = mAccountStateMap->peekItem(Ledger::getAccountRootIndex(accountID)); if (!item) {