docs: fix undefined `header` in `updateState`
While reviewing the `updateState` function in the Loopback Client spec, I noticed that `header.height` is used, but `header` is never defined. However, just above, `height = getSelfHeight()` correctly retrieves the height of the local ledger.
This change replaces `header.height` with `height`, ensuring that the function uses the properly initialized variable.
合并状态:已合并 合并于 2025-04-02 关闭于 2025-04-02 0 条评论