Commit 8f8558c
committed
Pass channel params to sign_channel_announcement_with_funding_key
Now that channel_value_satoshis has been moved to
ChannelTransactionParameters, pass the entire parameters when calling
each method on EcdsaChannelSigner. This will remove the need for
ChannelSigner::provide_channel_parameters. Instead, the parameters from
the FundingScope will be passed in to each method. This simplifies the
interaction with a ChannelSigner when needing to be called for more than
one FundingScope, which will be the case for pending splices and RBF
attempts.1 parent abd7d7f commit 8f8558c
File tree
4 files changed
+11
-6
lines changed- lightning/src
- ln
- sign
- util
4 files changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8004 | 8004 | | |
8005 | 8005 | | |
8006 | 8006 | | |
8007 | | - | |
| 8007 | + | |
| 8008 | + | |
8008 | 8009 | | |
8009 | 8010 | | |
8010 | 8011 | | |
| |||
8045 | 8046 | | |
8046 | 8047 | | |
8047 | 8048 | | |
8048 | | - | |
| 8049 | + | |
| 8050 | + | |
8049 | 8051 | | |
8050 | 8052 | | |
8051 | 8053 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1696 | 1696 | | |
1697 | 1697 | | |
1698 | 1698 | | |
1699 | | - | |
| 1699 | + | |
| 1700 | + | |
1700 | 1701 | | |
1701 | 1702 | | |
1702 | 1703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
| 478 | + | |
478 | 479 | | |
479 | | - | |
| 480 | + | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
| |||
0 commit comments