diff --git a/explorer/adapter.cpp b/explorer/adapter.cpp index 092222f58d..5964f99c45 100644 --- a/explorer/adapter.cpp +++ b/explorer/adapter.cpp @@ -2859,6 +2859,13 @@ class Adapter : public Node::IObserver, public IAdapter { // ignore other cases } } + else + { + // No height specified — return the current (latest) block + sid = _nodeBackend.m_Cursor.get_Sid(); + s = _nodeBackend.m_Cursor.m_Full; + h = _nodeBackend.m_Cursor.m_hh.m_Height; + } if (h) return extract_block_from_row(sid, s, h);