From 6393378c61de1f2587a5af49a594631ab0dfaa23 Mon Sep 17 00:00:00 2001 From: ymekuria Date: Fri, 20 Sep 2024 11:52:15 -0700 Subject: [PATCH] refactor(zkappWorkerClient.ts): rename publicKey58 to publicKeyBase58 for consistency and clarity in method parameters --- .../04-zkapp-browser-ui/ui/src/pages/zkappWorkerClient.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 62e4d11c0..6583e5367 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 @@ -26,12 +26,12 @@ export default class ZkappWorkerClient { return this.remoteApi.compileContract(); } - async fetchAccount(publicKey58: string) { - return this.remoteApi.fetchAccount(publicKey58); + async fetchAccount(publicKeyBase58: string) { + return this.remoteApi.fetchAccount(publicKeyBase58); } - async initZkappInstance(publicKey58: string) { - return this.remoteApi.initZkappInstance(publicKey58); + async initZkappInstance(publicKeyBase58: string) { + return this.remoteApi.initZkappInstance(publicKeyBase58); } async getNum(): Promise {