We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf7555 commit 82ff360Copy full SHA for 82ff360
lnwallet/commitment_chain.go
@@ -42,11 +42,13 @@ func (s *commitmentChain) advanceTail() {
42
43
// tip returns the latest commitment added to the chain.
44
func (s *commitmentChain) tip() *commitment {
45
+ //nolint:forcetypeassert
46
return s.commitments.Back().Value.(*commitment)
47
}
48
49
// tail returns the lowest unrevoked commitment transaction in the chain.
50
func (s *commitmentChain) tail() *commitment {
51
52
return s.commitments.Front().Value.(*commitment)
53
54
0 commit comments