Skip to content

Commit

Permalink
fix: prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
friedger authored and reedrosenbluth committed Jul 26, 2021
1 parent cd2a684 commit b471de9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/transactions/src/clarity/clarityValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ export function getCVTypeString(val: ClarityValue): string {
case ClarityType.PrincipalContract:
return 'principal';
case ClarityType.List:
return `(list ${val.list.length} ${val.list.length ? getCVTypeString(val.list[0]) : "UnknownType"})`;
return `(list ${val.list.length} ${
val.list.length ? getCVTypeString(val.list[0]) : 'UnknownType'
})`;
case ClarityType.Tuple:
return `(tuple ${Object.keys(val.data)
.map(key => `(${key} ${getCVTypeString(val.data[key])})`)
Expand Down

0 comments on commit b471de9

Please sign in to comment.