send ethPriceInDai in status

This commit is contained in:
poma 2019-11-09 15:21:33 +03:00
parent 945a5945f8
commit 2199b13873

View File

@ -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) => {