bring up to par with master
This commit is contained in:
parent
6d29062061
commit
461227a47f
2 changed files with 2 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ module.exports = (mainnet = false) => {
|
|||
logfile: "shockapi.log",
|
||||
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
|
||||
lndDirPath: lndDirectory,
|
||||
peers: ['http://gun.shock.network:8765/gun'],
|
||||
peers: ['https://gun.shock.network:8765/gun'],
|
||||
useTLS: false,
|
||||
tokenExpirationMS: 259200000
|
||||
};
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ const _lookupInvoice = hash =>
|
|||
})
|
||||
})
|
||||
|
||||
const _getPostTipInfo = ({ postID, page }) =>
|
||||
const _getPostTipInfo = ({ postID }) =>
|
||||
new Promise((resolve, reject) => {
|
||||
getUser()
|
||||
.get(Key.POSTS_NEW)
|
||||
|
|
@ -44,7 +44,6 @@ const _getPostTipInfo = ({ postID, page }) =>
|
|||
.once(post => {
|
||||
if (post && post.date) {
|
||||
const { tipCounter, tipValue } = post
|
||||
console.log(post)
|
||||
resolve({
|
||||
tipCounter: typeof tipCounter === 'number' ? tipCounter : 0,
|
||||
tipValue: typeof tipValue === 'number' ? tipValue : 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue