Skip to content

Commit 7072bf4

Browse files
committed
chore: fix some function names in comment
Signed-off-by: crystalstall <[email protected]>
1 parent 0f68226 commit 7072bf4

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

asset/asset_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ func TestDeriveGroupKey(t *testing.T) {
10071007
require.NotNil(t, groupKey)
10081008
}
10091009

1010-
// TestAssetWitness tests that the asset group witness can be serialized and
1010+
// TestAssetWitnesses tests that the asset group witness can be serialized and
10111011
// parsed correctly, and that signature detection works correctly.
10121012
func TestAssetWitnesses(t *testing.T) {
10131013
t.Parallel()

commitment/commitment_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,8 +1476,8 @@ func TestTapCommitmentDeepCopy(t *testing.T) {
14761476
)
14771477
}
14781478

1479-
// TestTaprootAssetCommitmentScript tests that we're able to properly verify if
1480-
// a given script is a valid Taproot Asset commitment script or not.
1479+
// TestIsTaprootAssetCommitmentScript tests that we're able to properly
1480+
// verify if a given script is a valid Taproot Asset commitment script or not.
14811481
func TestIsTaprootAssetCommitmentScript(t *testing.T) {
14821482
t.Parallel()
14831483

itest/collectible_split_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func testCollectibleGroupSend(t *harnessTest) {
386386
}
387387
}
388388

389-
// sendAsset sends the given number of assets of the given type from the given
389+
// sendAssets sends the given number of assets of the given type from the given
390390
// node to the other node.
391391
func sendAssets(t *testing.T, ctx context.Context, numAssets uint64,
392392
assetType taprpc.AssetType, send, receive *tapdHarness,

itest/loadtest/send_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func sendTest(t *testing.T, ctx context.Context, cfg *Config) {
5252
}
5353
}
5454

55-
// sendAsset sends the given number of assets of the given type from the given
55+
// sendAssets sends the given number of assets of the given type from the given
5656
// node to the other node.
5757
func sendAssets(t *testing.T, ctx context.Context, numAssets uint64,
5858
assetType taprpc.AssetType, send, receive *rpcClient,

0 commit comments

Comments
 (0)