Skip to content

Commit adf4485

Browse files
committed
refactor(Add.ts): rename settleZKprogramState method to settleState for better clarity and consistency
1 parent 7554192 commit adf4485

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
@@ -14,7 +14,7 @@ import { AddProgramProof } from './AddZKprogram';
1414
export class Add extends SmartContract {
1515
@state(Field) num = State<Field>();
1616

17-
@method async settleZKprogramState(proof: AddProgramProof) {
17+
@method async settleState(proof: AddProgramProof) {
1818
proof.verify();
1919
const addProgramState = proof.publicOutput;
2020
this.num.set(addProgramState);

0 commit comments

Comments
 (0)