Use STT by default
This commit is contained in:
parent
cef804896b
commit
260ce2d03f
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue