mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-23 08:11:48 +02:00
input: add anchor witness type
This commit is contained in:
@@ -280,3 +280,11 @@ func TestTxWeightEstimator(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TestSizes guards calculated constants to make sure their values remain
|
||||
// unchanged.
|
||||
func TestSizes(t *testing.T) {
|
||||
if input.AnchorWitnessSize != 116 {
|
||||
t.Fatal("unexpected anchor witness size")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user