Commit 1482111
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 f9ad4a0 commit 1482111
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5482 | 5482 | | |
5483 | 5483 | | |
5484 | 5484 | | |
5485 | | - | |
| 5485 | + | |
| 5486 | + | |
| 5487 | + | |
| 5488 | + | |
5486 | 5489 | | |
5487 | | - | |
| 5490 | + | |
| 5491 | + | |
| 5492 | + | |
| 5493 | + | |
| 5494 | + | |
| 5495 | + | |
5488 | 5496 | | |
5489 | 5497 | | |
5490 | 5498 | | |
5491 | 5499 | | |
5492 | 5500 | | |
5493 | | - | |
| 5501 | + | |
5494 | 5502 | | |
5495 | 5503 | | |
5496 | 5504 | | |
| |||
0 commit comments