Skip to content

Commit

Permalink
Also add contract to .prettierignore
Browse files Browse the repository at this point in the history
  • Loading branch information
msinkec committed Sep 6, 2023
1 parent 9dfc6f1 commit bcc2e92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
**/scrypt.index.json
**/.vscode/*
!**/.vscode/launch.json
!**/.vscode/tasks.json
!**/.vscode/tasks.json
src/contracts/bsv20Mint.ts
6 changes: 3 additions & 3 deletions src/contracts/bsv20Mint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ export class BSV20Mint extends SmartContract {
@method()
static getTransferInsciption(tokenId: ByteString, amt: bigint): ByteString {
const transferJson =
toByteString('{"p":"bsv-20","op":"transfer","id":"', true) +
toByteString('","amt":"', true) +
toByteString('{\"p\":\"bsv-20\",\"op\":\"transfer\",\"id\":\"', true) +
toByteString('\",\"amt\":\"', true) +
BSV20Mint.int2Ascii(amt) +
toByteString('"}', true)
toByteString('\"}', true)

return (
toByteString(
Expand Down

0 comments on commit bcc2e92

Please sign in to comment.