mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-05-06 16:25:15 -04:00
update circomlib
This commit is contained in:
parent
cfaf325c47
commit
c8adb6b200
3 changed files with 18 additions and 3 deletions
|
@ -156,6 +156,7 @@ async function main() {
|
|||
contract = new web3.eth.Contract(require('./build/contracts/ETHTornado.json').abi, CONTRACT_ADDRESS)
|
||||
const account = web3.eth.accounts.privateKeyToAccount('0x' + PRIVATE_KEY)
|
||||
web3.eth.accounts.wallet.add('0x' + PRIVATE_KEY)
|
||||
// eslint-disable-next-line require-atomic-updates
|
||||
web3.eth.defaultAccount = account.address
|
||||
|
||||
const note = await deposit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue