Skip to content

Commit

Permalink
Merge pull request #20 from ar-io/sync-state-fix
Browse files Browse the repository at this point in the history
fix(observers); await syncing state on contract before fetching obser…
  • Loading branch information
dtfiedler committed Jan 25, 2024
2 parents 270f7dc + 3f38852 commit 39783cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contract/warp-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class WarpContract implements ObserverContract {
);
this.contract.setEvaluationOptions(evaluationOptions);
this.evaluationOptions = evaluationOptions;
this.contract.syncState(
await this.contract.syncState(
`${this.cacheUrl}/v1/contract/${this.contractId}`,
);
}
Expand Down

0 comments on commit 39783cb

Please sign in to comment.