@@ -820,11 +820,6 @@ pub trait OutputSpender {
820
820
/// Returns `Err(())` if the output value is greater than the input value minus required fee,
821
821
/// if a descriptor was duplicated, or if an output descriptor `script_pubkey`
822
822
/// does not match the one we can spend.
823
- ///
824
- /// We do not enforce that outputs meet the dust limit or that any output scripts are standard.
825
- ///
826
- /// May panic if the [`SpendableOutputDescriptor`]s were not generated by channels which used
827
- /// this [`KeysManager`] or one of the [`InMemorySigner`] created by this [`KeysManager`].
828
823
fn spend_spendable_outputs < C : Signing > (
829
824
& self , descriptors : & [ & SpendableOutputDescriptor ] , outputs : Vec < TxOut > ,
830
825
change_destination_script : ScriptBuf , feerate_sat_per_1000_weight : u32 ,
@@ -2095,6 +2090,8 @@ impl OutputSpender for KeysManager {
2095
2090
///
2096
2091
/// See [`OutputSpender::spend_spendable_outputs`] documentation for more information.
2097
2092
///
2093
+ /// We do not enforce that outputs meet the dust limit or that any output scripts are standard.
2094
+ ///
2098
2095
/// May panic if the [`SpendableOutputDescriptor`]s were not generated by channels which used
2099
2096
/// this [`KeysManager`] or one of the [`InMemorySigner`] created by this [`KeysManager`].
2100
2097
fn spend_spendable_outputs < C : Signing > (
@@ -2258,7 +2255,8 @@ impl NodeSigner for PhantomKeysManager {
2258
2255
}
2259
2256
2260
2257
impl OutputSpender for PhantomKeysManager {
2261
- /// See [`OutputSpender::spend_spendable_outputs`] for documentation on this method.
2258
+ /// See [`OutputSpender::spend_spendable_outputs`] and [`KeysManager::spend_spendable_outputs`]
2259
+ /// for documentation on this method.
2262
2260
fn spend_spendable_outputs < C : Signing > (
2263
2261
& self , descriptors : & [ & SpendableOutputDescriptor ] , outputs : Vec < TxOut > ,
2264
2262
change_destination_script : ScriptBuf , feerate_sat_per_1000_weight : u32 ,
0 commit comments