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 @@ -172,7 +172,7 @@ pub enum BumpTransactionEvent {
172
172
commitment_tx_fee_satoshis : u64 ,
173
173
/// The descriptor to sign the anchor input of the anchor transaction constructed as a
174
174
/// result of consuming this event.
175
- anchor_descriptor : AnchorDescriptor ,
175
+ anchor_descriptor : Box < AnchorDescriptor > ,
176
176
/// The set of pending HTLCs on the commitment transaction that need to be resolved once the
177
177
/// commitment transaction confirms.
178
178
pending_htlcs : Vec < HTLCOutputInCommitment > ,
@@ -1076,14 +1076,14 @@ mod tests {
1076
1076
package_target_feerate_sat_per_1000_weight : 868 ,
1077
1077
commitment_tx_fee_satoshis : 930 ,
1078
1078
commitment_tx,
1079
- anchor_descriptor : AnchorDescriptor {
1079
+ anchor_descriptor : Box :: new ( AnchorDescriptor {
1080
1080
channel_derivation_parameters : ChannelDerivationParameters {
1081
1081
value_satoshis : 42_000_000 ,
1082
1082
keys_id : [ 42 ; 32 ] ,
1083
1083
transaction_parameters,
1084
1084
} ,
1085
1085
outpoint : OutPoint { txid : Txid :: from_byte_array ( [ 42 ; 32 ] ) , vout : 0 } ,
1086
- } ,
1086
+ } ) ,
1087
1087
pending_htlcs : Vec :: new ( ) ,
1088
1088
} ) ;
1089
1089
}
You can’t perform that action at this time.
0 commit comments