mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
removed logging
This commit is contained in:
parent
20acf26b26
commit
6e1fff2ed1
@ -1,5 +1,3 @@
|
|||||||
import Logger from './logger'
|
|
||||||
|
|
||||||
export default class Web3Helper {
|
export default class Web3Helper {
|
||||||
constructor(web3) {
|
constructor(web3) {
|
||||||
this.web3 = web3
|
this.web3 = web3
|
||||||
@ -20,7 +18,6 @@ export default class Web3Helper {
|
|||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
let network = 'unknown'
|
let network = 'unknown'
|
||||||
this.web3.version.getNetwork((err, networkId) => {
|
this.web3.version.getNetwork((err, networkId) => {
|
||||||
Logger.log('networkId', networkId)
|
|
||||||
if (err) {
|
if (err) {
|
||||||
throw err
|
throw err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user