Commit 7715481
committed
Special case 0-conf in check_funding_meets_minimum_depth
0-conf channels always meet the funding minimum depth once accepted.
Special case this in check_funding_meets_minimum_depth such that it
isn't implicit in later calculations. Since a minimum depth is always
set when the channel is accepted, expect this to be the case in the
method since it should only be called on a ChannelContext in a
FundedChannel.1 parent 811da64 commit 7715481
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5272 | 5272 | | |
5273 | 5273 | | |
5274 | 5274 | | |
5275 | | - | |
| 5275 | + | |
| 5276 | + | |
| 5277 | + | |
5276 | 5278 | | |
5277 | | - | |
| 5279 | + | |
| 5280 | + | |
| 5281 | + | |
| 5282 | + | |
| 5283 | + | |
| 5284 | + | |
5278 | 5285 | | |
5279 | 5286 | | |
5280 | 5287 | | |
5281 | 5288 | | |
5282 | | - | |
| 5289 | + | |
5283 | 5290 | | |
5284 | 5291 | | |
5285 | 5292 | | |
| |||
0 commit comments