Crash in fundrawtransaction in conjunction with watchonly scripts #14401

issue jonasschnelli opened this issue on October 5, 2018
  1. jonasschnelli commented at 8:22 AM on October 5, 2018: contributor

    Steps to reproduce:

    • Create a wallet with privatekeys disabled (createwallet dummy true) [optional]
    • import a P2SH scriptPubKey (importmulti ...)
    • send some fund (via another wallet) to that P2SH address
    • The watch only wallet should show the balance
    • Use fundrawtransaction with the watch-only wallet ... example: fundrawtransaction 020000000001605af4050000000017a914396544b6e06f30ea066a7a74a04210804992a2358700000000 '{"includeWatching": true, "changeAddress": "2MxUhpUHCATayFKtLhV3qxJBKj8f5Yyeios"}'

    Crash Assertion failed: (nBytes_ <= uint64_t(std::numeric_limits<int64_t>::max())), function GetFee, file policy/feerate.cpp, line 25.

  2. jonasschnelli added the label Bug on Oct 5, 2018
  3. jonasschnelli added this to the milestone 0.17.1 on Oct 5, 2018
  4. jonasschnelli cross-referenced this on Oct 5, 2018 from issue Fix crash in fundrawtransaction when using non-solvable scripts by jonasschnelli
  5. practicalswift commented at 8:49 AM on October 5, 2018: contributor

    Some context: #14380 (comment) :-)

  6. meshcollider cross-referenced this on Oct 13, 2018 from issue fix assert crash when specified change output spend size is unknown by instagibbs
  7. MarcoFalke closed this on Dec 1, 2018

  8. MarcoFalke commented at 5:33 PM on December 1, 2018: member

    Let me know if this issue still persists

  9. bitcoin locked this on Sep 8, 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-05-19 06:54 UTC