Skip to content

Commit

Permalink
feat(zkappWorkerClient.ts): update initZkappInstance method parameter…
Browse files Browse the repository at this point in the history
… to accept publicKeyBase58 in UI
  • Loading branch information
ymekuria committed Sep 20, 2024
1 parent c34cd5f commit c5ea077
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export default class ZkappWorkerClient {
async fetchAccount(publicKey58: string) {
return this.remoteApi.fetchAccount(publicKey58);
}
async initZkappInstance(publicKey: PublicKey) {
return this.remoteApi.initZkappInstance(publicKey.toBase58());

async initZkappInstance(publicKey58: string) {
return this.remoteApi.initZkappInstance(publicKey58);
}

async getNum(): Promise<Field> {
Expand Down

0 comments on commit c5ea077

Please sign in to comment.