Browse Source

cleanup

master^2
Evan Feenstra 4 years ago
parent
commit
2377298e36
  1. 2
      dist/src/controllers/queries.js
  2. 2
      dist/src/controllers/queries.js.map
  3. 2
      src/controllers/queries.ts

2
dist/src/controllers/queries.js

@ -91,7 +91,7 @@ function genChannelAndConfirmAccounting(acc) {
console.log("[WATCH]=> CHANNEL OPENED!", r); console.log("[WATCH]=> CHANNEL OPENED!", r);
yield models_1.models.Accounting.update({ yield models_1.models.Accounting.update({
status: constants_1.default.statuses.confirmed, status: constants_1.default.statuses.confirmed,
fudingTxid: r.funding_txid_str fundingTxid: r.funding_txid_str
}, { }, {
where: { id: acc.id } where: { id: acc.id }
}); });

2
dist/src/controllers/queries.js.map

File diff suppressed because one or more lines are too long

2
src/controllers/queries.ts

@ -95,7 +95,7 @@ async function genChannelAndConfirmAccounting(acc: Accounting) {
console.log("[WATCH]=> CHANNEL OPENED!", r) console.log("[WATCH]=> CHANNEL OPENED!", r)
await models.Accounting.update({ await models.Accounting.update({
status: constants.statuses.confirmed, status: constants.statuses.confirmed,
fudingTxid: r.funding_txid_str fundingTxid: r.funding_txid_str
}, { }, {
where: { id: acc.id } where: { id: acc.id }
}) })

Loading…
Cancel
Save