File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3544,7 +3544,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
3544
3544
package_target_feerate_sat_per_1000_weight,
3545
3545
commitment_tx,
3546
3546
commitment_tx_fee_satoshis,
3547
- anchor_descriptor : AnchorDescriptor {
3547
+ anchor_descriptor : Box :: new ( AnchorDescriptor {
3548
3548
channel_derivation_parameters : ChannelDerivationParameters {
3549
3549
keys_id : self . channel_keys_id ,
3550
3550
value_satoshis : channel_parameters. channel_value_satoshis ,
@@ -3554,7 +3554,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
3554
3554
txid : commitment_txid,
3555
3555
vout : anchor_output_idx,
3556
3556
} ,
3557
- } ,
3557
+ } ) ,
3558
3558
pending_htlcs : pending_nondust_htlcs,
3559
3559
} ) ) ;
3560
3560
} ,
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ pub enum BumpTransactionEvent {
167
167
commitment_tx_fee_satoshis : u64 ,
168
168
/// The descriptor to sign the anchor input of the anchor transaction constructed as a
169
169
/// result of consuming this event.
170
- anchor_descriptor : AnchorDescriptor ,
170
+ anchor_descriptor : Box < AnchorDescriptor > ,
171
171
/// The set of pending HTLCs on the commitment transaction that need to be resolved once the
172
172
/// commitment transaction confirms.
173
173
pending_htlcs : Vec < HTLCOutputInCommitment > ,
@@ -955,14 +955,14 @@ mod tests {
955
955
package_target_feerate_sat_per_1000_weight : 868 ,
956
956
commitment_tx_fee_satoshis : 930 ,
957
957
commitment_tx,
958
- anchor_descriptor : AnchorDescriptor {
958
+ anchor_descriptor : Box :: new ( AnchorDescriptor {
959
959
channel_derivation_parameters : ChannelDerivationParameters {
960
960
value_satoshis : 42_000_000 ,
961
961
keys_id : [ 42 ; 32 ] ,
962
962
transaction_parameters,
963
963
} ,
964
964
outpoint : OutPoint { txid : Txid :: from_byte_array ( [ 42 ; 32 ] ) , vout : 0 } ,
965
- } ,
965
+ } ) ,
966
966
pending_htlcs : Vec :: new ( ) ,
967
967
} ) ;
968
968
}
You can’t perform that action at this time.
0 commit comments