fundrawtransaction returns "Insufficient funds" while it has funds in listunspent #16396

issue stevenroose opened this issue on July 16, 2019
  1. stevenroose commented at 2:15 PM on July 16, 2019: contributor

    I've been struggling with this for a bit and decided to try it manually. Here are the steps I made: https://gist.github.com/stevenroose/b7d60c44d5235ac4d98dbdbf4442210b

    Relevant: #7879, #14405

  2. shesek commented at 2:20 PM on July 16, 2019: contributor

    I believe the address needs to be imported using importmulti with its pubkey/spk in order to be solvable and to be used by fundrawtransaction.

  3. fanquake added the label RPC/REST/ZMQ on Jul 16, 2019
  4. instagibbs commented at 1:35 AM on July 17, 2019: member

    that or import the pubkey as well using importpubkey.

  5. stevenroose commented at 10:09 AM on July 19, 2019: contributor

    I think clarifying that the pubkey is needed is enough: https://github.com/bitcoin/bitcoin/pull/16397

  6. laanwj referenced this in commit 79aeed8e76 on Sep 30, 2019
  7. MarcoFalke commented at 8:12 PM on September 30, 2019: member

    This has been fixed in 79aeed8e76e8bc70722e6178678b0b3840694d5c?

  8. MarcoFalke closed this on Sep 30, 2019

  9. sidhujag referenced this in commit 87f572d383 on Oct 2, 2019
  10. jasonbcox referenced this in commit b942902439 on Sep 7, 2020
  11. vijaydasmp referenced this in commit de90806b39 on Oct 29, 2021
  12. vijaydasmp referenced this in commit 109c46514d on Oct 29, 2021
  13. humbleDasher referenced this in commit 3d642e293b on Dec 5, 2021
  14. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me