This commit is contained in:
JoelKatz
2013-06-15 04:14:53 -07:00
parent b2ef016f1a
commit 17695e79cb

View File

@@ -884,7 +884,7 @@ bool SHAMap::fetchRoot (uint256 const& hash, SHAMapSyncFilter* filter)
WriteLog (lsTRACE, SHAMap) << "Fetch root SHAMap node " << hash; WriteLog (lsTRACE, SHAMap) << "Fetch root SHAMap node " << hash;
} }
Ledger::pointer newRoot = fetchNodeExternalNT(SHAMapNode(), hash); SHAMapTreeNode::pointer newRoot = fetchNodeExternalNT(SHAMapNode(), hash);
if (newRoot) if (newRoot)
root = newRoot; root = newRoot;
else else