Function holochain_state::source_chain::chain_head_db_nonempty
source · pub fn chain_head_db_nonempty(
txn: &Transaction<'_>,
author: Arc<AgentPubKey>
) -> SourceChainResult<HeadInfo>
Expand description
Get the current chain head of the database. Error if the chain is empty.