diff --git a/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorkerClient.ts b/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorkerClient.ts index d6f1714bc..c97c2ab9b 100644 --- a/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorkerClient.ts +++ b/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/zkappWorkerClient.ts @@ -9,7 +9,7 @@ import * as Comlink from "comlink"; export default class ZkappWorkerClient { // --------------------------------------------------------------------------------------- - + worker: Worker; // Proxy to interact with the worker's methods as if they were local remoteApi: Comlink.Remote; @@ -34,7 +34,7 @@ export default class ZkappWorkerClient { fetchAccount(publicKey: PublicKey): Promise> { console.log('publicKey', publicKey); - return this.remoteApi.fetchAccount(PublicKey.toBase58(publicKey)); + return this.remoteApi.fetchAccount(publicKey); } initZkappInstance(publicKey: PublicKey) {