From 098771e16cdaffe7aefecbd2a668acbb660d8a01 Mon Sep 17 00:00:00 2001 From: Leon Hudak <33522493+leohhhn@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:45:14 +0100 Subject: [PATCH] fix(docs): Update `GetOrigPkgAddr` reference (#1578) ## Description This PR fixes the wrong reference for `std.GetOrigPkgAddr()`.
Contributors' checklist... - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [x] Added references to related issues and PRs - [x] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
--- docs/reference/standard-library/std/chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/standard-library/std/chain.md b/docs/reference/standard-library/std/chain.md index 9d699cc99a2..bda09b2fe80 100644 --- a/docs/reference/standard-library/std/chain.md +++ b/docs/reference/standard-library/std/chain.md @@ -92,7 +92,7 @@ caller := std.GetOrigSend() ```go func GetOrigPkgAddr() string ``` -Returns the `pkgpath` of the current Realm or Package. +Returns the address of the first (entry point) realm/package in a sequence of realm/package calls. #### Usage ```go