From 6546b77c089413ab4fd766f05faa1dae9a47f450 Mon Sep 17 00:00:00 2001 From: Tobin Harding Date: Tue, 11 May 2021 13:29:22 +1000 Subject: [PATCH] Remove stale comments The two fields this comment references are not `Option` type. This comment seems to be stale. --- src/wallet/tx_builder.rs | 3 --- 1 file changed, 3 deletions(-) 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,