fix(Util.sweepWif): Replaced blockbook with electrumx

This commit is contained in:
Chris Troutner
2021-03-01 11:35:07 -08:00
parent 64e59f607a
commit b4d29a5856
4 changed files with 117 additions and 112 deletions
+3 -3
View File
@@ -52,7 +52,7 @@ const electrumxv4 = new ElectrumXV4()
electrumxv4.connect()
const encryptionv4 = new EncryptionV4()
const pricev4 = new PriceV4()
const utilV4 = new UtilV4()
const utilV4 = new UtilV4({ electrumx: electrumxv4 })
const app = express()
@@ -208,11 +208,11 @@ function onError (error) {
case 'EACCES':
console.error(`${bind} requires elevated privileges`)
process.exit(1)
// break
// break
case 'EADDRINUSE':
console.error(`${bind} is already in use`)
process.exit(1)
// break
// break
default:
throw error
}