Skip to content

Commit

Permalink
chore: remove unused SDK utility
Browse files Browse the repository at this point in the history
  • Loading branch information
austinabell committed Jun 3, 2022
1 parent f03eb1a commit a9fd9cd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@ export function stringToU8Array(string) {
}
return ret
}

export function encodeCall(contract, method, args) {
return Buffer.concat([Buffer.from(contract), Buffer.from([0]), Buffer.from(method), Buffer.from([0]), Buffer.from(JSON.stringify(args))])
}

0 comments on commit a9fd9cd

Please sign in to comment.