Skip to content

Commit 0b27457

Browse files
committed
Remove spurious set introduced in 21ed477
21ed477 got rewritten a few times before it landed and ended up with a spurious set call which is redaundant against the parameter passed in to `ReadableArgs`. This removes that set.
1 parent 0af8ddb commit 0b27457

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10643,8 +10643,6 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, &'c Channel
1064310643
// ChannelTransactionParameters may have had an empty features set upon deserialization.
1064410644
// To account for that, we're proactively setting/overriding the field here.
1064510645
channel_parameters.channel_type_features = chan_features.clone();
10646-
// ChannelTransactionParameters::channel_value_satoshis defaults to 0 prior to version 0.2.
10647-
channel_parameters.channel_value_satoshis = channel_value_satoshis;
1064810646

1064910647
let mut secp_ctx = Secp256k1::new();
1065010648
secp_ctx.seeded_randomize(&entropy_source.get_secure_random_bytes());

0 commit comments

Comments
 (0)