Browse Source

fix: incorrect prop argument name

feat/shiki-twoslash-rehype
kyranjamie 3 years ago
committed by Patrick Gray
parent
commit
f28a567c35
  1. 2
      src/pages/write-smart-contracts/testing-contracts.md

2
src/pages/write-smart-contracts/testing-contracts.md

@ -124,7 +124,7 @@ await helloWorldClient.deployContract();
Finally, you will find snippets that call the public `say-hi` function of the contract:
```js
const query = helloWorldClient.createQuery({ function: { name: 'say-hi', args: [] } });
const query = helloWorldClient.createQuery({ method: { name: 'say-hi', args: [] } });
const receipt = await helloWorldClient.submitQuery(query);
const result = Result.unwrapString(receipt);
```

Loading…
Cancel
Save