fix: endpoint check
This commit is contained in:
parent
7e8c49cf45
commit
8c66c67a04
1 changed files with 0 additions and 2 deletions
|
|
@ -4,8 +4,6 @@ const base = require('../tron/base')
|
||||||
const NAME = 'trongrid'
|
const NAME = 'trongrid'
|
||||||
|
|
||||||
function run (account) {
|
function run (account) {
|
||||||
if (!account.endpoint) throw new Error('Need to configure API endpoint for trongrid')
|
|
||||||
|
|
||||||
const endpoint = 'https://api.trongrid.io'
|
const endpoint = 'https://api.trongrid.io'
|
||||||
|
|
||||||
base.connect({ ...account, endpoint })
|
base.connect({ ...account, endpoint })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue