Skip to content

Commit

Permalink
Update soroban xdr (#552)
Browse files Browse the repository at this point in the history
* Update xdr

* Missed a few hash typeof shenanigans

* don't need this export
  • Loading branch information
Paul Bellamy authored Sep 29, 2022
1 parent f2c795b commit e51b76b
Show file tree
Hide file tree
Showing 10 changed files with 1,571 additions and 230 deletions.
2 changes: 1 addition & 1 deletion src/contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Contract {
*/
call(method, ...params) {
return Operation.invokeHostFunction({
function: xdr.HostFunction.hostFnCall(),
function: xdr.HostFunction.hostFnInvokeContract(),
parameters: [
xdr.ScVal.scvObject(
xdr.ScObject.scoBytes(Buffer.from(this._id, 'hex'))
Expand Down
Loading

0 comments on commit e51b76b

Please sign in to comment.