Skip to content

Commit

Permalink
Update sdk.md
Browse files Browse the repository at this point in the history
Updating stale flowContract
  • Loading branch information
meeshhhh authored Oct 17, 2024
1 parent 588d5ef commit 3d1375b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/build-with-0g/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ if (err === null) {

```javascript
try {
const [tx, err] = await indexer.upload(file, 0, evmRpc, flowContract);
const [tx, err] = await indexer.upload(file, 0, evmRpc, signer, flowAddr);
if (err === null) {
console.log("File uploaded successfully, tx: ", tx);
} else {
Expand Down

0 comments on commit 3d1375b

Please sign in to comment.