File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ import (
1818 "pgregory.net/rapid"
1919)
2020
21+ // testCaseGkrEncodeDecode defines a unit test case for encoding
22+ // and decoding a group key reveal.
2123type testCaseGkrEncodeDecode struct {
2224 testName string
2325
@@ -280,8 +282,8 @@ func TestGroupKeyRevealEncodeDecodeRapid(tt *testing.T) {
280282 })
281283}
282284
283- // TestNonSpendableLeafScript tests that the unspendable leaf script is actually
284- // unspendable .
285+ // TestNonSpendableLeafScript tests that the non-spendable leaf script is
286+ // actually non-spendable .
285287func TestNonSpendableLeafScript (t * testing.T ) {
286288 var assetID ID
287289 _ , err := rand .Read (assetID [:])
@@ -380,7 +382,7 @@ func TestNonSpendableLeafScript(t *testing.T) {
380382 spendTx .TxIn [0 ].Witness = finalWitness
381383
382384 // Finally, we'll execute the spend. This should fail if
383- // the leaf is actually unspendable .
385+ // the leaf is actually non-spendable .
384386 vm , err := txscript .NewEngine (
385387 leafScript , spendTx , 0 ,
386388 txscript .StandardVerifyFlags , nil , sigHash ,
You can’t perform that action at this time.
0 commit comments