diff --git a/rpcserver.go b/rpcserver.go index e875fb258..104905d92 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -2941,9 +2941,12 @@ func (r *rpcServer) MultiverseRoot(ctx context.Context, err) } - return &unirpc.MultiverseRootResponse{ - MultiverseRoot: marshalMssmtNode(rootNode), - }, nil + var resp unirpc.MultiverseRootResponse + rootNode.WhenSome(func(node universe.MultiverseRoot) { + resp.MultiverseRoot = marshalMssmtNode(node) + }) + + return &resp, nil } // AssetRoots queries for the known Universe roots associated with each known