Skip to content

Commit

Permalink
fix(json-to-micheline converter): Fix string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Sep 25, 2022
1 parent 01744cf commit 9f91dd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tezwell/michelson-sdk",
"version": "0.4.3",
"version": "0.4.4",
"description": "Michelson SDK is a framework for generating Michelson values and types from Javascript.",
"keywords": [
"Tezos",
Expand Down
2 changes: 1 addition & 1 deletion src/converter/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const toMicheline = (michelson: MichelsonJSON, padding = ''): MichelsonMi
return michelson.int;
}
if (Guards.isString(michelson)) {
return michelson.string;
return `"${michelson.string}"`;
}
if (Guards.isBytes(michelson)) {
return michelson.bytes;
Expand Down

0 comments on commit 9f91dd4

Please sign in to comment.