diff --git a/processor/src/coins/bitcoin.rs b/processor/src/coins/bitcoin.rs index d92704da..82f8ff75 100644 --- a/processor/src/coins/bitcoin.rs +++ b/processor/src/coins/bitcoin.rs @@ -369,12 +369,10 @@ impl Coin for Bitcoin { match BSignableTransaction::new( plan.inputs.iter().map(|input| input.output.clone()).collect(), &payments, - plan - .change - .map(|key| { - let (_, offsets, _) = scanner(key); - Self::address(key + (ProjectivePoint::GENERATOR * offsets[&OutputType::Change])).0 - }), + plan.change.map(|key| { + let (_, offsets, _) = scanner(key); + Self::address(key + (ProjectivePoint::GENERATOR * offsets[&OutputType::Change])).0 + }), None, fee.0, ) {