Skip to content

Commit

Permalink
refactor(zkappWorkerClient.ts): rename publicKey58 to publicKeyBase58…
Browse files Browse the repository at this point in the history
… for consistency and clarity in method parameters
  • Loading branch information
ymekuria committed Sep 20, 2024
1 parent c5ea077 commit 6393378
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Field> {
Expand Down

0 comments on commit 6393378

Please sign in to comment.