Skip to content

Commit

Permalink
fix(docs): Update GetOrigPkgAddr reference (gnolang#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 committed Jan 26, 2024
1 parent 4802e83 commit 0af91b8
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 0af91b8

Please sign in to comment.