mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-05-09 10:05:14 -04:00
docker
This commit is contained in:
parent
00e17b1687
commit
5328178d65
4 changed files with 24 additions and 22 deletions
|
@ -89,7 +89,7 @@ async function checkTornadoFee({ args, contract }) {
|
|||
|
||||
async function checkMiningFee({ args }) {
|
||||
const swap = new web3.eth.Contract(swapABI, swapAddress)
|
||||
const TornAmount = await swap.getExpectedReturn(args.fee).call()
|
||||
const TornAmount = await swap.methods.getExpectedReturn(args.fee).call()
|
||||
console.log('TornAmount', TornAmount)
|
||||
|
||||
// todo: use desired torn/eth rate and compute the same way as in tornado
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue