mirror of
https://github.com/tornadocash/fixed-merkle-tree.git
synced 2024-12-26 22:57:56 +01:00
fix trailingComma
This commit is contained in:
parent
4a63b3b7fb
commit
29021a8028
@ -2,5 +2,6 @@
|
||||
"semi": false,
|
||||
"arrowParens": "always",
|
||||
"singleQuote": true,
|
||||
"printWidth": 110
|
||||
"printWidth": 110,
|
||||
"trailingComma": "all"
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ class MerkleTree {
|
||||
this._layers[level - 1][i * 2],
|
||||
i * 2 + 1 < this._layers[level - 1].length
|
||||
? this._layers[level - 1][i * 2 + 1]
|
||||
: this._zeros[level - 1]
|
||||
: this._zeros[level - 1],
|
||||
)
|
||||
}
|
||||
}
|
||||
@ -102,7 +102,7 @@ class MerkleTree {
|
||||
this._layers[level - 1][index * 2],
|
||||
index * 2 + 1 < this._layers[level - 1].length
|
||||
? this._layers[level - 1][index * 2 + 1]
|
||||
: this._zeros[level - 1]
|
||||
: this._zeros[level - 1],
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user