mirror of
https://github.com/tornadocash/tornado-pool-relayer
synced 2024-02-02 15:04:09 +01:00
fix: validate schema
This commit is contained in:
parent
4809d17f27
commit
1e08f78316
@ -4,15 +4,15 @@ import { ChainId } from '@/types';
|
||||
const NETWORKS_INFO: { [chainId in ChainId] } = {
|
||||
[ChainId.MAINNET]: {
|
||||
gasLimit: BigNumber.from(600000),
|
||||
minimumBalance: 0.5,
|
||||
minimumBalance: '0.5',
|
||||
},
|
||||
[ChainId.GOERLI]: {
|
||||
gasLimit: BigNumber.from(600000),
|
||||
minimumBalance: 0.5,
|
||||
minimumBalance: '0.5',
|
||||
},
|
||||
[ChainId.OPTIMISM]: {
|
||||
gasLimit: '',
|
||||
minimumBalance: 0.5,
|
||||
minimumBalance: '0.5',
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -20,10 +20,10 @@ class ApiService {
|
||||
|
||||
return {
|
||||
health,
|
||||
chainId,
|
||||
version,
|
||||
serviceFee,
|
||||
rewardAddress,
|
||||
chainId: Number(chainId),
|
||||
serviceFee: Number(serviceFee),
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user