@@ -713,7 +713,7 @@ func TestCooperativeChannelClosure(t *testing.T) {
713713 testCoopClose (t , & coopCloseTestCase {
714714 chanType : channeldb .SingleFunderTweaklessBit |
715715 channeldb .AnchorOutputsBit ,
716- anchorAmt : anchorSize * 2 ,
716+ anchorAmt : AnchorSize * 2 ,
717717 })
718718 })
719719}
@@ -823,7 +823,7 @@ func TestForceClose(t *testing.T) {
823823 chanType : channeldb .SingleFunderTweaklessBit |
824824 channeldb .AnchorOutputsBit ,
825825 expectedCommitWeight : input .AnchorCommitWeight ,
826- anchorAmt : anchorSize * 2 ,
826+ anchorAmt : AnchorSize * 2 ,
827827 })
828828 })
829829 t .Run ("taproot" , func (t * testing.T ) {
@@ -832,7 +832,7 @@ func TestForceClose(t *testing.T) {
832832 channeldb .AnchorOutputsBit |
833833 channeldb .SimpleTaprootFeatureBit ,
834834 expectedCommitWeight : input .TaprootCommitWeight ,
835- anchorAmt : anchorSize * 2 ,
835+ anchorAmt : AnchorSize * 2 ,
836836 })
837837 })
838838 t .Run ("taproot with tapscript root" , func (t * testing.T ) {
@@ -842,7 +842,7 @@ func TestForceClose(t *testing.T) {
842842 channeldb .SimpleTaprootFeatureBit |
843843 channeldb .TapscriptRootBit ,
844844 expectedCommitWeight : input .TaprootCommitWeight ,
845- anchorAmt : anchorSize * 2 ,
845+ anchorAmt : AnchorSize * 2 ,
846846 })
847847 })
848848}
@@ -928,7 +928,7 @@ func testForceClose(t *testing.T, testCase *forceCloseTestCase) {
928928 t .Fatal ("commit tx not referenced by anchor res" )
929929 }
930930 if anchorRes .AnchorSignDescriptor .Output .Value !=
931- int64 (anchorSize ) {
931+ int64 (AnchorSize ) {
932932
933933 t .Fatal ("unexpected anchor size" )
934934 }
0 commit comments