Skip to content

Commit

Permalink
fix: last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
omarsy committed Jun 30, 2024
1 parent c52efd7 commit 5e5a7d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/hooks/feed/useFeedPosting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export const useFeedPosting = (
const provider = new GnoJSONRPCProvider(network.endpoint);
await provider.waitForTransaction(txHash);
setStep(feedPostingStep(FeedPostingStepId.DONE));
onSuccess && onSuccess();
} else {
setStep(feedPostingStep(FeedPostingStepId.POSTING));

Expand Down
1 change: 1 addition & 0 deletions packages/utils/gno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const adenaDoContract = async (
throw new Error(res.message);
}
const hash: string = res.data.hash;

await client.waitForTransaction(hash,height);

Check failure on line 44 in packages/utils/gno.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

Insert `·`

return hash;
Expand Down

0 comments on commit 5e5a7d8

Please sign in to comment.