input: add anchor witness type

This commit is contained in:
Joost Jager committed 2020-03-17 16:25:35 +01:00
1 parent dd77d9263e
commit c376cdb733
6 files changed
+155 -67

No files matched your search

+8
View File
@@ -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")
}
}