Skip to content

Commit

Permalink
Merge pull request #15 from script3/bug/convertValsToScVals-error
Browse files Browse the repository at this point in the history
fix: patch convertValsToScVals
  • Loading branch information
mootz12 authored Jun 28, 2024
2 parents f339075 + 66e5eb9 commit 35b6b53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.0",
"version": "1.2.1",
"name": "@script3/soroban-governor-sdk",
"description": "Javascript SDK for the Soroban Governor",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/calldata_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Calldata, Val } from ".";
export function convertValsToScVals(calldata: Calldata): any {
return {
args: calldata.args.map((arg) => valToScVal(arg)),
auths: calldata.auths.map((auth) => convertValsToScVals(calldata)),
auths: calldata.auths.map((auth) => convertValsToScVals(auth)),
contract_id: new Address(calldata.contract_id),
function: calldata.function,
};
Expand Down

0 comments on commit 35b6b53

Please sign in to comment.