Skip to content

Commit

Permalink
Fix typo in aliases doc
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankC01 committed Dec 23, 2023
1 parent 4880149 commit 2a39a86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/cookbook/code/aliases.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ def alias_look():
# cfg = SuiConfig.sui_base_config()
# Loop through aliases and print
print()
for alias in client.config.aliases:
for alias in cfg.aliases:
print(f"Alias: {alias}")
print(f"Address: {client.config.addr4al(alias)}")
print(f"PublicKey: {client.config.pk4al(alias)}\n")
print(f"Address: {cfg.addr4al(alias)}")
print(f"PublicKey: {cfg.pk4al(alias)}\n")

```

Expand Down

0 comments on commit 2a39a86

Please sign in to comment.