input: add anchor witness type
This commit is contained in:
6 files changed
+155
-67
No files matched your search
@@ -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