Skip to content

Commit

Permalink
feat(zkappWorkerClient.ts): update getTransactionJSON method to use r…
Browse files Browse the repository at this point in the history
…emoteApi with web worker
  • Loading branch information
ymekuria committed Sep 19, 2024
1 parent 8453211 commit 4f14c50
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,12 @@ export default class ZkappWorkerClient {
proveUpdateTransaction() {
return this.remoteApi.proveUpdateTransaction();
}
async getTransactionJSON() {
const result = await this._call('getTransactionJSON', {});
return result;

getTransactionJSON() {
return this.remoteApi.getTransactionJSON();
}


// ---------------------------------------------------------------------------------------

worker: Worker;
Expand Down

0 comments on commit 4f14c50

Please sign in to comment.