Version 0.2.14 works, version 0.2.15 hangs
See original GitHub issueGot it working in that it shows number of sats. Got an error message about the …p in src/cmd.js
and removed those … (no idea what that means) but now 0.2.15 works in that it shows the green sats but not the red once. So, not good but that’s more or less where the problem is. The error message:
SyntaxError: src/cmd.js: Unexpected token (36:19)
34 | const pays = res.pays
35 | .filter(p => p.status == 'complete')
> 36 | .map(p => ({ ...p, payment_hash: hash(p.preimage) }))
| ^
37 |
38 | const pay_parts = await Promise.all(
39 | pays.map(p => ln.listsendpays(null, p.payment_hash)))
there’s another …p
Spark-wallet version 0.2.14 is working for me, 0.2.15 is not: colored lines keep running around in circles. I’m running spark-wallet inside a browser (Chrome) on Android (version 9).
EDIT: is nodejs v8
still recommended?
EDIT: reinstalled npm and got a little further without errors with npm run dist:npm
and running spark-wallet/dist/cli.js
but the result is the same running around circles. Here is the new 0.2.15
output:
0.2.15
output:
Connected to c-lightning v0.9.0-2-ge7d89cd with id 02888244029c5909593038ab19f269947c720de3423e491791b46c7c92f76279b6 on network bitcoin at /home/user/.lightning/bitcoin/lightning-rpc
Loaded TLS certificate with fingerprint be:26:ff:41:(etc) from /home/user/.spark-wallet/tls
HTTPS server running on https://0.0.0.0:9737
GET / 200 10.165 ms - 810
GET /style.css 200 19.903 ms - -
GET /load-theme.js 200 2.696 ms - -
GET /swatch/dark/bootstrap.min.css 200 2.589 ms - -
GET /fonts/typeface-open-sans/index.css 200 1.833 ms - -
GET /app.js 200 1.048 ms - -
GET /fonts/typeface-open-sans/files/open-sans-latin-300.woff2 200 1.362 ms - 14932
GET /lib/instascan.js 200 0.980 ms - -
POST /rpc 200 106.562 ms - -
POST /rpc 200 7.314 ms - 698
POST /rpc 200 27.174 ms - -
POST /rpc 200 12.031 ms - -
POST /rpc 200 9.602 ms - -
POST /rpc 200 21.933 ms - -
GET /fonts/typeface-open-sans/files/open-sans-latin-400.woff2 200 2.391 ms - 14380
GET /manifest-rZXnkNFjR8/manifest.json 200 1.852 ms - 571
GET /favicon.ico 200 2.484 ms - -
GET /worker.js 200 3.728 ms - -
POST /rpc 200 2.541 ms - 698
POST /rpc 200 10.346 ms - -
POST /rpc 200 4.062 ms - -
POST /rpc 200 22.286 ms - -
POST /rpc 200 19.457 ms - -
POST /rpc 200 3.630 ms - 698
POST /rpc 200 14.475 ms - -
POST /rpc 200 7.434 ms - -
POST /rpc 200 28.324 ms - -
POST /rpc 200 24.361 ms - -
POST /rpc 200 3.657 ms - 698
POST /rpc 200 16.090 ms - -
0.2.14
output:
Connected to c-lightning v0.9.0-2-ge7d89cd with id 02888244029c5909593038ab19f269947c720de3423e491791b46c7c92f76279b6 on network bitcoin at /home/user/.lightning/bitcoin/lightning-rpc
Loaded TLS certificate with fingerprint be:26:ff:41:8d (etc) from /home/user/.spark-wallet/tls
HTTPS server running on https://0.0.0.0:9737
GET / 200 20.349 ms - 810
GET /style.css 200 64.202 ms - -
GET /load-theme.js 200 2.862 ms - -
GET /swatch/dark/bootstrap.min.css 200 76.594 ms - -
GET /app.js 200 16.977 ms - -
GET /fonts/typeface-open-sans/index.css 200 76.960 ms - -
POST /rpc 200 94.831 ms - -
POST /rpc 200 15.706 ms - -
POST /rpc 200 3.647 ms - 698
GET /fonts/typeface-open-sans/files/open-sans-latin-300.woff2 200 23.039 ms - 14932
GET /lib/instascan.js 200 22.305 ms - -
POST /rpc 200 9.416 ms - -
POST /rpc 200 3.553 ms - -
GET /fonts/typeface-open-sans/files/open-sans-latin-400.woff2 200 39.328 ms - 14380
GET /favicon.ico 200 17.485 ms - -
GET /manifest-rZXnkNFjR8/manifest.json 200 51.011 ms - 571
GET /worker.js 200 2.926 ms - -
GET /manifest-rZXnkNFjR8/icon-512.png 200 9.007 ms - 16947
GET /manifest-rZXnkNFjR8/icon-192.png 200 2.818 ms - 7526
GET /manifest-rZXnkNFjR8/icon-192.png 200 1.846 ms - 7526
GET /manifest-rZXnkNFjR8/icon-192.png 200 1.795 ms - 7526
GET /manifest-rZXnkNFjR8/icon-192.png 200 1.785 ms - 7526
GET /manifest-rZXnkNFjR8/icon-192.png 200 1.842 ms - 7526
Issue Analytics
- State:
- Created 3 years ago
- Comments:21 (10 by maintainers)
Top GitHub Comments
@shesek I can confirm the installation bug is now fixed
@shesek It does! Well done. So everything is fine now. I will keep an eye on the changes at c-lightning and spark-wallet and
pull
the latest versions when necessary.