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 ba347e8f2..d6f1714bc 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 @@ -33,7 +33,8 @@ export default class ZkappWorkerClient { } fetchAccount(publicKey: PublicKey): Promise> { - return this.remoteApi.fetchAccount(publicKey.toBase58()); + console.log('publicKey', publicKey); + return this.remoteApi.fetchAccount(PublicKey.toBase58(publicKey)); } initZkappInstance(publicKey: PublicKey) {