Skip to content

Commit f259c90

Browse files
committed
refactor(Add.ts): rename updateAddProgram method to settleAddProgramState for clarity and consistency
1 parent 3f255e9 commit f259c90

File tree

1 file changed

+1
-1
lines changed
  • templates/project-ts/src

1 file changed

+1
-1
lines changed

templates/project-ts/src/Add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Add extends SmartContract {
2525
this.num.set(newState);
2626
}
2727

28-
@method async updateAddProgram(proof: AddProgramProof) {
28+
@method async settleAddProgramState(proof: AddProgramProof) {
2929
const addProgramState = proof.publicOutput;
3030
this.zkProgramNum.set(addProgramState);
3131
}

0 commit comments

Comments
 (0)