Skip to content

Commit 67a199f

Browse files
MSzalowskiRyun1
andcommitted
Update govtool/frontend/src/utils/drepSearchPhraseProcessor.ts
Co-authored-by: Ryan <[email protected]> Signed-off-by: Michał Szałowski <[email protected]>
1 parent c1563b6 commit 67a199f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

govtool/frontend/src/utils/drepSearchPhraseProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { decodeCIP129Identifier } from "./cip129identifier";
44
* Processes the search phrase for dRep and returns the dRep ID.
55
* If the phrase starts with "drep_script" or "drep",
66
* it decodes the CIP129 identifier and extracts the transaction ID.
7-
* If the transaction ID starts with "22" or "23", it returns the ID without the prefix.
7+
* If the DRep ID starts with "22" or "23", it returns the ID without the prefix.
88
* If any error occurs during processing, it returns the original phrase.
99
*
1010
* @param phrase - The search phrase to be processed.

0 commit comments

Comments
 (0)