Fix linting

pull/4164/head
ioedeveloper 1 year ago
parent feb7e861f6
commit ba264b7636
  1. 6
      libs/remix-ws-templates/src/templates/semaphore/scripts/run_setup.ts

@ -14,9 +14,9 @@ const logger = {
* @returns The message digest.
*/
function hash(message: any): bigint {
message = BigNumber.from(message).toTwos(256).toHexString()
message = ethers.utils.zeroPad(message, 32)
return BigInt(ethers.utils.keccak256(message)) >> BigInt(8)
message = BigNumber.from(message).toTwos(256).toHexString()
message = ethers.utils.zeroPad(message, 32)
return BigInt(ethers.utils.keccak256(message)) >> BigInt(8)
}
(async () => {

Loading…
Cancel
Save