@@ -712,7 +712,7 @@ func TestCooperativeChannelClosure(t *testing.T) {
712712 testCoopClose (t , & coopCloseTestCase {
713713 chanType : channeldb .SingleFunderTweaklessBit |
714714 channeldb .AnchorOutputsBit ,
715- anchorAmt : anchorSize * 2 ,
715+ anchorAmt : AnchorSize * 2 ,
716716 })
717717 })
718718}
@@ -822,7 +822,7 @@ func TestForceClose(t *testing.T) {
822822 chanType : channeldb .SingleFunderTweaklessBit |
823823 channeldb .AnchorOutputsBit ,
824824 expectedCommitWeight : input .AnchorCommitWeight ,
825- anchorAmt : anchorSize * 2 ,
825+ anchorAmt : AnchorSize * 2 ,
826826 })
827827 })
828828 t .Run ("taproot" , func (t * testing.T ) {
@@ -831,7 +831,7 @@ func TestForceClose(t *testing.T) {
831831 channeldb .AnchorOutputsBit |
832832 channeldb .SimpleTaprootFeatureBit ,
833833 expectedCommitWeight : input .TaprootCommitWeight ,
834- anchorAmt : anchorSize * 2 ,
834+ anchorAmt : AnchorSize * 2 ,
835835 })
836836 })
837837 t .Run ("taproot with tapscript root" , func (t * testing.T ) {
@@ -841,7 +841,7 @@ func TestForceClose(t *testing.T) {
841841 channeldb .SimpleTaprootFeatureBit |
842842 channeldb .TapscriptRootBit ,
843843 expectedCommitWeight : input .TaprootCommitWeight ,
844- anchorAmt : anchorSize * 2 ,
844+ anchorAmt : AnchorSize * 2 ,
845845 })
846846 })
847847}
@@ -927,7 +927,7 @@ func testForceClose(t *testing.T, testCase *forceCloseTestCase) {
927927 t .Fatal ("commit tx not referenced by anchor res" )
928928 }
929929 if anchorRes .AnchorSignDescriptor .Output .Value !=
930- int64 (anchorSize ) {
930+ int64 (AnchorSize ) {
931931
932932 t .Fatal ("unexpected anchor size" )
933933 }
0 commit comments