Skip to content

Commit 721c9fe

Browse files
committed
remove underscore
1 parent 0fc53ff commit 721c9fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/note-merkle-tree.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ export class NoteMerkleTree extends MerkleTree {
8787
let inputs: Input[] = [];
8888
let sum = Field.zero();
8989
for (let note of inputNotes) {
90-
const input = await this._createInput(note);
90+
const input = await this.createInput(note);
9191
inputs.push(input);
9292
sum = sum.add(input.note.amount);
9393
}
9494
for (let i = inputs.length; i < this.numInputs; i++) {
95-
inputs.push(await this._createInput(Note.zero()));
95+
inputs.push(await this.createInput(Note.zero()));
9696
}
9797

9898
if (depositAmount.isNeg() && depositAmount.neg().gt(sum)) {
@@ -146,7 +146,7 @@ export class NoteMerkleTree extends MerkleTree {
146146
);
147147
}
148148

149-
async _createInput(note: Note) {
149+
async createInput(note: Note) {
150150
const index = await this.findNoteIndex(note);
151151
return new Input(
152152
note,

0 commit comments

Comments
 (0)