fix(p2wdb): Working with v3 P2WDB

This commit is contained in:
Chris Troutner
2022-06-29 16:50:36 -07:00
parent 3d7d4a57d2
commit 6b3fc78fc9
3 changed files with 5 additions and 10 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ module.exports = {
webhookService: process.env.WEBHOOKSERVICE
? process.env.WEBHOOKSERVICE
: 'http://localhost:5010/webhook', // P2WDB.
p2wdbAppId: process.env.APP_ID ? process.env.APP_ID : 'bch-dex-test557',
p2wdbAppId: process.env.APP_ID ? process.env.APP_ID : 'bch-dex-001',
webhookTarget: process.env.WEBHOOKTARGET
? process.env.WEBHOOKTARGET
: 'http://localhost:5700/p2wdb',
+3 -3
View File
@@ -54,9 +54,9 @@ class Adapters {
// Start the IPFS node.
// Do not start these adapters if this is an e2e test.
if (this.config.env !== 'test') {
await this.ipfs.start()
}
// if (this.config.env !== 'test') {
// await this.ipfs.start()
// }
// Open the wallet file
const walletData = await this.wallet.openWallet()
+1 -6
View File
@@ -45,13 +45,8 @@ class Controllers {
// Attach any other controllers other than REST API controllers.
async attachControllers (app) {
// Wait for any startup processes to complete for the Adapters libraries.
// await this.adapters.start()
// Attach the REST controllers to the Koa app.
// this.attachRESTControllers(app)
this.attachRPCControllers()
// this.attachRPCControllers()
}
// Add the JSON RPC router to the ipfs-coord adapter.