diff --git a/src/cpp/ripple/ripple_SHAMap.cpp b/src/cpp/ripple/ripple_SHAMap.cpp index 06b93cd1c9..a4f108b82d 100644 --- a/src/cpp/ripple/ripple_SHAMap.cpp +++ b/src/cpp/ripple/ripple_SHAMap.cpp @@ -884,7 +884,7 @@ bool SHAMap::fetchRoot (uint256 const& hash, SHAMapSyncFilter* filter) WriteLog (lsTRACE, SHAMap) << "Fetch root SHAMap node " << hash; } - Ledger::pointer newRoot = fetchNodeExternalNT(SHAMapNode(), hash); + SHAMapTreeNode::pointer newRoot = fetchNodeExternalNT(SHAMapNode(), hash); if (newRoot) root = newRoot; else