fundrawtransaction doesn’t keep change address pool key #9362

issue jonasschnelli openend this issue on December 16, 2016
  1. jonasschnelli commented at 8:28 am on December 16, 2016: contributor

    If one calls fundrawtransaction, the change address will be retrieved from the keypool, though, this key/address will always be returned to the pool, leading to the problem that the next getnewaddress() call will restult in the same key/address.

    Either we remove the auto-change-address (users would need to call getrawchangeaddress first [current best practice anyway]) or we add a call to keep/mark a specific key/address as change (after one have sent the funded raw transaction).

    Reported by @NicolasDorier on IRC.

  2. jonasschnelli added the label Wallet on Dec 16, 2016
  3. laanwj closed this on Jan 20, 2017

  4. MarcoFalke locked this on Sep 8, 2021


jonasschnelli

Labels
Wallet


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: 2024-12-22 21:12 UTC

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