]> Untitled Git - bdk-cli/commit
refactor: use BlockchainClient as references
authorMshehu5 <musheu@gmail.com>
Sat, 20 Dec 2025 22:54:46 +0000 (23:54 +0100)
committerMshehu5 <musheu@gmail.com>
Mon, 2 Feb 2026 10:56:21 +0000 (11:56 +0100)
commitb88426adcdafa7c327465be6dfd9d8a6d03d89be
tree6012c7ca8656553bca6499d34671269e55458da0
parent99b71fdaede31dd89aa10f153294bfb3e90d5e6f
refactor: use BlockchainClient as references

Update function signatures to accept &BlockchainClient instead of taking
ownership. This refactoring to allow the client to be Referenced across
multiple operations including repeated calls to sync_kyoto_client.

- Update handle_online_wallet_subcommand signature
- Update all PayjoinManager methods to use &BlockchainClient
- Fix parameter dereferencing in full_scan calls
- Update all call sites to pass references
src/handlers.rs
src/payjoin/mod.rs