question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Withdrawing funds using Spark console

See original GitHub issue

Whenever I attempt to issue the command withdraw bech_address satoshi_amount I keep getting Cannot afford transaction even though I have 900000+ sats on the node. My question is what limitation does using this command have in terms of the number of uses? Also when attempting the same command with the parameter of “all” I get the same error.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
shesekcommented, Dec 12, 2019

@pavlenex when developing this I assumed that all funds must be confirmed because c-lightning doesn’t not process mempool transactions, but I neglected to take unconfirmed transactions issued by c-lightning itself into account (this effects not only channel closures, but also the change output of on-chain withdrawals). I opened https://github.com/shesek/spark-wallet/issues/129 to keep track of fixing this.

0reactions
pavlenexcommented, Dec 18, 2019

Thanks @shesek , appreciate it.

@RhinoAK I’ve solved my issue by following cdecker instructions here, I am quite certain your issue is the same in case you haven’t figured it out yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the Spark Shell (REPL)
Download Spark and run the spark-shell executable command to start the Spark console. Consoles are also known as read-eval-print loops (REPL). I ...
Read more >
Quick Start - Spark 3.4.1 Documentation
This tutorial provides a quick introduction to using Spark. We will first introduce the API through Spark's interactive shell (in Python or Scala), ......
Read more >
Spark SQL CLI - Spark 3.4.1 Documentation
The CLI use ; to terminate commands only when it's at the end of line, and it's not escaped by \\; . ;...
Read more >
Spark 1.4 increase maxResultSize memory - python
From the command line, such as with pyspark, --conf spark.driver.maxResultSize=3g can also be used to increase the max result size.
Read more >
Add, remove, or update a payment method | Cloud Billing
Save money with our transparent approach to pricing; Google Cloud's ... Get cost estimates in the Google Cloud console · Get cost estimates...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found