diff --git a/src/discof/forest/fd_forest.c b/src/discof/forest/fd_forest.c index dccaa9f2ee..8a759362f1 100644 --- a/src/discof/forest/fd_forest.c +++ b/src/discof/forest/fd_forest.c @@ -787,7 +787,7 @@ fd_forest_publish( fd_forest_t * forest, ulong new_root_slot ) { fd_forest_blk_t * new_root_ele = query( forest, new_root_slot ); # if FD_FOREST_USE_HANDHOLDING - if( FD_UNLIKELY( new_root_ele->slot <= old_root_ele->slot ) ) { + if( FD_UNLIKELY( new_root_ele && new_root_ele->slot <= old_root_ele->slot ) ) { FD_LOG_WARNING(( "tower sent us a root %lu older than forest root %lu", new_root_ele->slot, old_root_ele->slot )); return NULL; }