]> Untitled Git - bdk/commit
Merge bitcoindevkit/bdk#599: Fix typo in docs for TxBuilder allow_shrinking method
authorAlekos Filini <alekos.filini@gmail.com>
Fri, 6 May 2022 08:26:49 +0000 (10:26 +0200)
committerAlekos Filini <alekos.filini@gmail.com>
Fri, 6 May 2022 08:27:00 +0000 (10:27 +0200)
commit7201e09db90ccd3176e975b640cb82b94e037f7a
treef593ad6fe0fac04053ae53807a3b5a93634f34f1
parent2f325328c5e9912229f43f792d23b2c7170e3403
parent4628a10191f451a7b0ade674e9f8568bf695e49c
Merge bitcoindevkit/bdk#599: Fix typo in docs for TxBuilder allow_shrinking method

4628a10191f451a7b0ade674e9f8568bf695e49c Fix typo in docs for TxBuilder allow_shrinking method (thunderbiscuit)

Pull request description:

  ### Description
  This PR fixes a small typo in the documentation for the `allow_shrinking()` method on the `TxBuilder`.

  ### Notes to the reviewers
  The sentence
  ```txt
  Explicitly tells the wallet that it is allowed to reduce the fee of the output matching this `script_pubkey` in order to bump the transaction fee. Without specifying this the wallet will attempt to find a change output to shrink instead.
  ```
  was changed for
  ```txt
  Explicitly tells the wallet that it is allowed to reduce the amount of the output matching this `script_pubkey` in order to bump the transaction fee. Without specifying this the wallet will attempt to find a change output to shrink instead.
  ```

  To reflect the fact that it's the _amount_ of the output that is being reduced in order to leave more for the fees.

  ### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

ACKs for top commit:
  notmandatory:
    ACK 4628a10191f451a7b0ade674e9f8568bf695e49c

Tree-SHA512: ca135764d78144295fdbdb4673ca6dec153c6f83ee7fb5d7d3051e0d46b04d23b2f3c3fd66e44491da842c778e72b52f8996d00e4c20986d7ccb11587f0d7d27