fix: update relayer schema

This commit is contained in:
Danil Kovtonyuk 2022-08-02 14:47:28 +10:00
parent 767541ef61
commit 280eab5fca
No known key found for this signature in database
GPG key ID: E72A919BF08C3746
3 changed files with 7 additions and 28 deletions

View file

@ -144,7 +144,6 @@ const statusSchema = {
required: ['dai', 'cdai', 'usdc', 'usdt', 'torn', 'wbtc']
},
tornadoServiceFee: { type: 'number', maximum: 20, minimum: 0 },
miningServiceFee: { type: 'number', maximum: 20, minimum: 0 },
latestBlock: { type: 'number' },
version: { type: 'string' },
health: {
@ -157,16 +156,7 @@ const statusSchema = {
},
currentQueue: { type: 'number' }
},
required: [
'rewardAccount',
'instances',
'netId',
'ethPrices',
'tornadoServiceFee',
'miningServiceFee',
'version',
'health'
]
required: ['rewardAccount', 'instances', 'netId', 'ethPrices', 'tornadoServiceFee', 'version', 'health']
}
export { statusSchema }