]> Untitled Git - bdk/commit
fix(wallet)!: delete method `insert_tx`
authorvalued mammal <valuedmammal@protonmail.com>
Tue, 5 Nov 2024 18:49:50 +0000 (13:49 -0500)
committervalued mammal <valuedmammal@protonmail.com>
Tue, 5 Nov 2024 19:14:35 +0000 (14:14 -0500)
commit200a16d277f7711a586f46833ab1b2ebf96b73c9
tree8b2378912e5c254f47b9004f8c61920256760043
parentab278844a9fa2ebaac7da97b23d6a88e5237ab16
fix(wallet)!: delete method `insert_tx`

Inserting unconfirmed txs can be done using the existing method
`apply_unconfirmed_txs`. Also removed `insert_checkpoint`, as the
API is unclear regarding where in the local chain the given block
should connect. Analogs for these methods are found in `test_utils`
module and are mainly used to facilitate testing.
crates/wallet/src/wallet/mod.rs
crates/wallet/tests/wallet.rs