Skip to content

Commit

Permalink
fix(docs): Update GetOrigPkgAddr reference (#1578)
Browse files Browse the repository at this point in the history
## Description

This PR fixes the wrong reference for `std.GetOrigPkgAddr()`.

<details><summary>Contributors' checklist...</summary>

- [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).
</details>
  • Loading branch information
leohhhn authored Jan 25, 2024
1 parent da35d3c commit 098771e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/standard-library/std/chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 098771e

Please sign in to comment.