Browse Source

testing

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

3
dist/src/controllers/queries.js

@ -20,7 +20,8 @@ const jsonUtils = require("../utils/json");
const sequelize_1 = require("sequelize"); const sequelize_1 = require("sequelize");
const node_fetch_1 = require("node-fetch"); const node_fetch_1 = require("node-fetch");
let queries = {}; let queries = {};
const hub_pubkey = '023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f'; // const hub_pubkey = '023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f'
const hub_pubkey = '02290714deafd0cb33d2be3b634fc977a98a9c9fa1dd6c53cf17d99b350c08c67b';
function getPendingAccountings() { function getPendingAccountings() {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const utxos = yield wallet_1.listUnspent(); // at least 1 confg const utxos = yield wallet_1.listUnspent(); // at least 1 confg

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

File diff suppressed because one or more lines are too long

5
src/controllers/queries.ts

@ -19,7 +19,8 @@ export interface Query {
let queries: { [k: string]: Query } = {} let queries: { [k: string]: Query } = {}
const hub_pubkey = '023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f' // const hub_pubkey = '023d70f2f76d283c6c4e58109ee3a2816eb9d8feb40b23d62469060a2b2867b77f'
const hub_pubkey = '02290714deafd0cb33d2be3b634fc977a98a9c9fa1dd6c53cf17d99b350c08c67b'
interface Accounting { interface Accounting {
id: number id: number
@ -245,4 +246,4 @@ async function asyncForEach(array, callback) {
for (let index = 0; index < array.length; index++) { for (let index = 0; index < array.length; index++) {
await callback(array[index], index, array); await callback(array[index], index, array);
} }
} }

Loading…
Cancel
Save