mirror of
https://github.com/tornadocash/tornado-relayer
synced 2024-02-02 15:04:06 +01:00
send ethPriceInDai in status
This commit is contained in:
parent
945a5945f8
commit
2199b13873
2
index.js
2
index.js
@ -37,7 +37,7 @@ app.get('/', function (req, res) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
app.get('/status', function (req, res) {
|
app.get('/status', function (req, res) {
|
||||||
res.json({ relayerAddress: web3.eth.defaultAccount, gasPrices, netId })
|
res.json({ relayerAddress: web3.eth.defaultAccount, gasPrices, netId, ethPriceInDai })
|
||||||
})
|
})
|
||||||
|
|
||||||
app.post('/relay', async (req, resp) => {
|
app.post('/relay', async (req, resp) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user