This commit is contained in:
jed
2012-08-20 17:01:53 -07:00
parent 62eff7ecf4
commit 6694372af7
4 changed files with 6 additions and 6 deletions

View File

@@ -178,7 +178,7 @@ AccountState::pointer Ledger::getAccountState(const NewcoinAddress& accountID)
SerializedLedgerEntry::pointer sle =
boost::make_shared<SerializedLedgerEntry>(item->peekSerializer(), item->getTag());
if (sle->getType() != ltACCOUNT_ROOT) return AccountState::pointer();
return boost::make_shared<AccountState>(sle);
return boost::make_shared<AccountState>(sle,accountID);
}
NicknameState::pointer Ledger::getNicknameState(const uint256& uNickname)