Skip to content

Commit

Permalink
Merge pull request #705 from pqv199x/master
Browse files Browse the repository at this point in the history
update rpc, ws testnet
  • Loading branch information
pqv199x committed Dec 20, 2019
2 parents 09fae54 + 6b6e18a commit 587272e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion commands/recrawl.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const Validator = require('../models/blockchain/validator')
const Web3Ws = require('../models/blockchain/web3ws')
const Web3Ws = require('../models/blockchain/web3ws').Web3Ws
// const web3Rpc = require('../models/blockchain/web3rpc')
const config = require('config')
const db = require('../models/mongodb')
Expand Down
2 changes: 1 addition & 1 deletion commands/validator.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const Validator = require('../models/blockchain/validator')
const Web3Ws = require('../models/blockchain/web3ws')
const Web3Ws = require('../models/blockchain/web3ws').Web3Ws
const config = require('config')
const db = require('../models/mongodb')
const moment = require('moment')
Expand Down
4 changes: 2 additions & 2 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"https://swagger.tomochain.com"
],
"blockchain": {
"rpc": "https://testnet.tomochain.com",
"ws": "wss://testnet.tomochain.com/ws",
"rpc": "https://rpc.testnet.tomochain.com",
"ws": "wss://ws.testnet.tomochain.com",
"internalRpc": "",
"internalWs": "",
"networkId": 89,
Expand Down
4 changes: 2 additions & 2 deletions config/testnet.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"blockchain": {
"rpc": "https://testnet.tomochain.com",
"ws": "wss://testnet.tomochain.com/ws",
"rpc": "https://rpc.testnet.tomochain.com",
"ws": "wss://ws.testnet.tomochain.com",
"internalRpc": "",
"internalWs": "",
"networkId": 89
Expand Down

0 comments on commit 587272e

Please sign in to comment.