Skip to content

Commit

Permalink
docs: formatting reference updated
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Jul 7, 2023
1 parent 0c1cb59 commit 178bd21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ledger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Parameters:
#### :gear: decodeIcrcAccount

Decodes a string into an Icrc-1 compatible account.
Formatting Reference: https://github.com/dfinity/ICRC-1/pull/98
Formatting Reference: https://github.com/dfinity/ICRC-1/blob/main/standards/ICRC-1/TextualEncoding.md

| Function | Type |
| ------------------- | ---------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/src/utils/ledger.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const encodeCrc = ({ owner, subaccount }: Required<IcrcAccount>): string => {

/**
* Decodes a string into an Icrc-1 compatible account.
* Formatting Reference: https://github.com/dfinity/ICRC-1/pull/98
* Formatting Reference: https://github.com/dfinity/ICRC-1/blob/main/standards/ICRC-1/TextualEncoding.md
*
* @param accountString string
* @throws Error if the string is not a valid Icrc-1 account
Expand Down

0 comments on commit 178bd21

Please sign in to comment.