lnwallet: export AnchorSize

This commit is contained in:
Oliver Gugger committed 2024-08-23 10:58:13 +02:00
1 parent 22a3988222
commit cf2174fc2d
6 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -258,7 +258,7 @@ func CreateTestChannels(t *testing.T, chanType channeldb.ChannelType,
commitFee := calcStaticFee(chanType, 0)
var anchorAmt btcutil.Amount
if chanType.HasAnchors() {
anchorAmt += 2 * anchorSize
anchorAmt += 2 * AnchorSize
}
aliceBalance := lnwire.NewMSatFromSatoshis(