mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-08-15 09:35:59 -04:00
removed parts param
This commit is contained in:
parent
91b97e0276
commit
525ca3bb84
4 changed files with 7 additions and 18 deletions
|
@ -142,7 +142,6 @@ function getArgsForOracle() {
|
|||
const tokens = mixers['netId1']
|
||||
const tokenAddresses = []
|
||||
const oneUintAmount = []
|
||||
const parts = [] // this is probably should be removed
|
||||
const currencyLookup = {}
|
||||
Object.entries(tokens).map(([currency, data]) => {
|
||||
if (currency !== 'eth') {
|
||||
|
@ -152,11 +151,10 @@ function getArgsForOracle() {
|
|||
.pow(toBN(data.decimals.toString()))
|
||||
.toString()
|
||||
)
|
||||
parts.push('1')
|
||||
currencyLookup[data.tokenAddress] = currency
|
||||
}
|
||||
})
|
||||
return { tokenAddresses, oneUintAmount, parts, currencyLookup }
|
||||
return { tokenAddresses, oneUintAmount, currencyLookup }
|
||||
}
|
||||
|
||||
function getMixers() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue