Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fundchannel(and other functions?) spend immature coinbase outputs #5564

Closed
instagibbs opened this issue Aug 31, 2022 · 0 comments · Fixed by #5664
Closed

fundchannel(and other functions?) spend immature coinbase outputs #5564

instagibbs opened this issue Aug 31, 2022 · 0 comments · Fixed by #5664
Labels
good first issue good for onboarding

Comments

@instagibbs
Copy link
Collaborator

Mined directly into my wallet on regtest. Seems like something that should be avoided if possible just as an annoyance.

{
   "code": 303,
   "message": "Error broadcasting funding tx: error code: -26\\\\nerror message:\\\\nbad-txns-premature-spend-of-coinbase, tried to spend coinbase at depth 18. Unsent tx discarded 02000000000101e2cda28e18c7f3aed67ad1f602af3d05b3e8defeda960072f0128db1174b1c280000000000fdffffff02a08601000000000022002047d39ed3ae6ebcec8f34be245ba579605d2073bbdbde27cfddbe2cdd2b1cfea1c66a042a0100000016001411a9312852c59f4ffa4678dea7448f6ade462e9e0246304302200f27ca1bab7bc9878a1f48e1731c57eb6ade326c30240facf39ec943c9d697ce021f35ac0cb95bb4b1794307c85a9153f8c561a1fccdc3b196ee08aa66f5af4067012102f8fdb6ded596fb1b73059eceda5f59f28739479419adfdfa7dec6d39a2bd2e9e66000000.",
   "data": {
      "id": "036a76e9bebfc101e93c6034150759844a0d10cc0012f4fdba19bfd3b94f963b10",
      "method": "openchannel_signed"
   }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue good for onboarding
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants