]> Untitled Git - bdk/commit
fix(wallet): use `map_keychain` in `Wallet::build_fee_bump`
authorvalued mammal <valuedmammal@protonmail.com>
Fri, 24 Jan 2025 14:13:08 +0000 (09:13 -0500)
committervalued mammal <valuedmammal@protonmail.com>
Fri, 24 Jan 2025 14:13:08 +0000 (09:13 -0500)
commit53d16e1b38eabee1f1ca304933a818951b8b0f43
treefb7f956a38b069dd72280689e0cd90c80449c604
parent43f0f8dea54aec92ddf7e088245c4ac9ba7afcd6
fix(wallet): use `map_keychain` in `Wallet::build_fee_bump`

Previously we failed to remove the change output if the wallet has
no internal keychain which caused tx building to fail at the new
higher feerate. Fix this by mapping the internal keychain to the
de-facto change keychain so that the drain output can be
recalculated.
crates/wallet/src/wallet/mod.rs