mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
fix(production): Minor fixes
This commit is contained in:
Vendored
+1
-1
@@ -88,7 +88,7 @@ module.exports = {
|
||||
p2wdbAppId: process.env.APP_ID ? process.env.APP_ID : 'bch-dex-test557',
|
||||
webhookTarget: process.env.WEBHOOKTARGET
|
||||
? process.env.WEBHOOKTARGET
|
||||
: 'http://localhost:5700/order',
|
||||
: 'http://localhost:5700/offer',
|
||||
|
||||
// IPFS Ports
|
||||
ipfsTcpPort: process.env.IPFS_TCP_PORT ? process.env.IPFS_TCP_PORT : 4001,
|
||||
|
||||
@@ -26,7 +26,7 @@ export PORT=5700
|
||||
# bch-dex specific env vars
|
||||
export BCH_ENV=production
|
||||
export WEBHOOKSERVICE=http://172.17.0.1:5667/webhook
|
||||
export WEBHOOKTARGET=http://172.17.0.1:5700/order
|
||||
export WEBHOOKTARGET=http://172.17.0.1:5700/offer
|
||||
export APP_ID=bch-dex-test557
|
||||
|
||||
npm start
|
||||
|
||||
@@ -4,7 +4,7 @@ version: '3.9'
|
||||
|
||||
services:
|
||||
mongo-p2wdb-service:
|
||||
image: mongo
|
||||
image: mongo:4.4
|
||||
container_name: mongo-p2wdb-service
|
||||
ports:
|
||||
- '5666:27017' # <host port>:<container port>
|
||||
|
||||
@@ -26,7 +26,7 @@ export PORT=5700
|
||||
# bch-dex specific env vars
|
||||
export BCH_ENV=production
|
||||
export WEBHOOKSERVICE=http://172.17.0.1:5667/webhook
|
||||
export WEBHOOKTARGET=http://172.17.0.1:5700/order
|
||||
export WEBHOOKTARGET=http://172.17.0.1:5700/offer
|
||||
export APP_ID=bch-dex-test557
|
||||
|
||||
npm start
|
||||
|
||||
@@ -28,6 +28,7 @@ class OrderLib {
|
||||
async createOrder (entryObj) {
|
||||
try {
|
||||
console.log('createOrder(entryObj): ', entryObj)
|
||||
// if (!entryObj) return
|
||||
|
||||
// Specify the address to send payment.
|
||||
entryObj.makerAddr = this.adapters.wallet.bchWallet.walletInfo.cashAddress
|
||||
|
||||
Reference in New Issue
Block a user