Use STT by default

This commit is contained in:
Pedro Pombeiro 2018-03-20 09:55:07 +01:00
parent cef804896b
commit 260ce2d03f
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
2 changed files with 5 additions and 1 deletions

View File

@ -29,6 +29,10 @@ function getGasPrice () {
}
function getTokenPrice (token) {
if (token === 'STT') {
return 1
}
const currency = 'USD'
const url = `https://min-api.cryptocompare.com/data/price?fsym=${token}&tsyms=${currency}`
// return new pending promise

View File

@ -60,7 +60,7 @@ module.exports = {
privateKey: '',
// Token of the currency for fetching real time prices (e.g. 'SNT')
token: 'SNT',
token: 'STT',
// Limit for the gas used in a transaction (e.g. 92000)
gasLimit: 92000,