]> Untitled Git - bdk/commitdiff
Merge bitcoindevkit/bdk#1455: refactor(wallet): rename get_balance() to balance()
authorSteve Myers <steve@notmandatory.org>
Tue, 4 Jun 2024 22:07:13 +0000 (17:07 -0500)
committerSteve Myers <steve@notmandatory.org>
Tue, 4 Jun 2024 22:12:37 +0000 (17:12 -0500)
50137b0425fe9c9aac8caaacf099bfe6c69859c2 refactor(wallet): rename get_balance() to balance() (Steve Myers)

Pull request description:

  ### Description

  fixes #1221

  ### Notes to the reviewers

  See discussion in #1221.

  ### Changelog notice

  Changed

  - Wallet::get_balance() renamed to Wallet::balance()

  ### Checklists

  #### 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:
  LagginTimes:
    ACK 50137b0425fe9c9aac8caaacf099bfe6c69859c2
  oleonardolima:
    ACK 50137b0425fe9c9aac8caaacf099bfe6c69859c2
  evanlinjin:
    ACK 50137b0425fe9c9aac8caaacf099bfe6c69859c2

Tree-SHA512: 20d188a32c79eca37b4f269e5bcdb8c2ecd595911558cb74812a37da13a4f39b603deed3bc11356aa6523b16417a2a025046b3dd4df5bd7247f39c29d7f48ac2

1  2 
crates/wallet/src/wallet/mod.rs
crates/wallet/tests/wallet.rs

Simple merge
Simple merge