Skip to content

Commit

Permalink
docs: improve principal-construct output type
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard authored Feb 17, 2023
1 parent bc9f3e5 commit 9eabcc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clarity/src/vm/docs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ The `addrs` list contains the same PoX address values passed into the PoX smart
};

const PRINCIPAL_CONSTRUCT_API: SpecialAPI = SpecialAPI {
input_type: "(buff 1) (buff 20) [(string-ascii 40)]",
input_type: "(buff 1), (buff 20), [(string-ascii 40)]",
output_type: "(response principal { error_code: uint, principal: (option principal) })",
snippet: "principal-construct? ${1:version} ${2:pub-key-hash}",
signature: "(principal-construct? (buff 1) (buff 20) [(string-ascii 40)])",
Expand Down

0 comments on commit 9eabcc5

Please sign in to comment.