From: Tobin Harding Date: Tue, 11 May 2021 03:29:22 +0000 (+1000) Subject: Remove stale comments X-Git-Tag: v0.8.0~11 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/%22example_cli/enum.Commands.html/struct.CommandString.html?a=commitdiff_plain;h=6546b77c089413ab4fd766f05faa1dae9a47f450;p=bdk Remove stale comments The two fields this comment references are not `Option` type. This comment seems to be stale. --- diff --git a/src/wallet/tx_builder.rs b/src/wallet/tx_builder.rs index 3d59c5a3..f7eb6c59 100644 --- a/src/wallet/tx_builder.rs +++ b/src/wallet/tx_builder.rs @@ -119,9 +119,6 @@ impl TxBuilderContext for BumpFee {} #[derive(Debug)] pub struct TxBuilder<'a, B, D, Cs, Ctx> { pub(crate) wallet: &'a Wallet, - // params and coin_selection are Options not becasue they are optionally set (they are always - // there) but because `.finish()` uses `Option::take` to get an owned value from a &mut self. - // They are only `None` after `.finish()` is called. pub(crate) params: TxParams, pub(crate) coin_selection: Cs, pub(crate) phantom: PhantomData,