diff options
| author | Adam Soltys <[email protected]> | 2018-12-21 03:14:40 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2018-12-21 03:14:41 +0000 |
| commit | ae79b2a52f4527de0e24a6fe2e9b161c804de02a (patch) | |
| tree | a07f5d577161652cd7420937efbe3f64b651cccd /index.js | |
| parent | f8838c16416e1343a878d75621fd37073896f254 (diff) | |
| download | coinos-server-ae79b2a52f4527de0e24a6fe2e9b161c804de02a.tar.gz coinos-server-ae79b2a52f4527de0e24a6fe2e9b161c804de02a.zip | |
remove user reloads
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -302,7 +302,6 @@ const l = console.log }) app.post('/sendPayment', auth, async (req, res) => { - await req.user.reload() let hash = req.body.payreq let payreq = bolt11.decode(hash) @@ -357,7 +356,6 @@ const l = console.log }) app.post('/sendCoins', auth, async (req, res) => { - await req.user.reload() const MINFEE = 3000 let { address, amount } = req.body |
